#401565 Color Information

Hex color code: #401565

A rich purple shade, #401565 appears as (64, 21, 101) in RGB and (272°, 66%, 24%) in HSL. It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#401565
RGB
64, 21, 101
HSL
272°, 66%, 24%
CMYK
37%, 79%, 0%, 60%

Shades

CSS Usage
color: #401565;
background-color: #401565;
border-color: #401565;
box-shadow: 0 0 10px #401565;
border: 2px solid #401565;
Tailwind Usage
bg-[#401565]
text-[#401565]
border-[#401565]
shadow-[0_0_10px_401565]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #401565, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #401565; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #401565; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #401565; background-color: #40156515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40156520; border-left: 4px solid #401565; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #401565; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #401565 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 21, 101

Red: 64 / Green: 21 / Blue: 101

HSL

272°, 66%, 24%

Hue: 272° / Saturation: 66% / Lightness: 24%

CMYK

37%, 79%, 0%, 60%

Cyan: 37% / Magenta: 79% / Yellow: 0% / Key: 60%

What color is #401565?

#401565 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #401565 to RGB:

rgb(64, 21, 101)HEX to RGB Converter →

HEX to HSL

Convert #401565 to HSL:

hsl(272, 66%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #401565 to CMYK:

cmyk(37%, 79%, 0%, 60%)Color Converter →

Color Meaning and Usage

A dark purple tone, #401565 has RGB (64, 21, 101) and HSL (272°, 66%, 24%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #401565 is #3B6615, creating high-contrast pairings. For softer combinations, try analogous colors like #181566.

Use #401565 in CSS: color: #401565 or background-color: #401565. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #401565

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.51:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #401565?

#401565 is a dark purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #401565?

#401565 in RGB is (64, 21, 101) - 64 red, 21 green, and 101 blue.

How to use #401565 in CSS?

Use #401565 directly in your CSS properties like color or background-color.

What colors go well with #401565?

#3B6615 (complementary), #181566 (analogous), and #180826 (lighter shade) work well with #401565.