Maroon Colors  ·  Color Library

Palettes / Colors / #400A58

#400A58 — Deep Vivid Purple

#400A58 is a purple color we call Deep Vivid Purple, closest to the named color Indigo (#4B0082). It belongs to the purple family.

Color name

Closest CSS keyword: indigo (#4B0082) — not an exact match. CSS indigo gives you #4B0082, a different color; use #400A58 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#400A58 is a cool purple color associated with luxury, creativity and mystery. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #21570A; it also sits naturally between #190A57 and #570A48. In the palettes below you can see it working alongside real color combinations from our collection.

#400A58 · RGB 64, 10, 88

Download PNG swatch SVG

Color values

HEX#400A58
RGB64, 10, 88
HSL282°, 80%, 19%
HSV282°, 89%, 35%
CMYK27%, 89%, 0%, 65%
XYZ3.98, 2.01, 9.41
Yxy2.01, 0.2586, 0.1306
CIE-Lab15.55, 37.71, -34.03
Hunter Lab14.18, 26.50, -31.34

RGB & CMYK percentages

Red 25% · Green 4% · Blue 35%

Cyan 27% · Magenta 89% · Yellow 0% · Key 65%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #400A58 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #400A58 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #400A58

.text { color: #400A58; }
.background { background-color: #400A58; }
.border { border: 3px solid #400A58; }
.text-rgb { color: rgb(64, 10, 88); }
.text-hsl { color: hsl(282, 80%, 19%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #400A58; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(64, 10, 88, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #400A58; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(64, 10, 88, 0.8); }

HTML: <p style="color:#400A58">Text here</p> · <div style="background-color:#400A58">Div content here</div>

Shades of #400A58

#3D0953#360849#320845#2C073C#280637#22052E#1E0529#180420#14031C#0D0212

Tints of #400A58

#5B0E7C#72119C#8D15C1#A819E6#B63EEA#C25EED#D083F1#DEA8F5#EAC8F9#F8EDFD

Tones of #400A58

#3E0F52#3B154C#391A47#372041#35253C#332B36

Color harmonies

Complementary — #21570A:

Analogous:

Triadic:

Contrast & accessibility

Against white text14.98:1 AAA
Against black text1.40:1 Fails

Best text color on #400A58: #FFFFFF.

Semi-transparent (opacity) text on #400A58

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #400A58: ·

How #400A58 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #292845Deuteranopia · #2C3041Tritanopia · #3D3633

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind zinc 600 · #52525BTailwind neutral 600 · #525252

Palettes with a similar color

These palettes use a close neighbour of #400A58 rather than the exact color:

Palette 3d065a
#3D065A · #B51A62 · #70D4B4 · #DDDDC7
Palette 430a5d
#430A5D · #5F374B · #8C6A5D · #EEE4B1
Electric Twilight
#4D23DE · #420F55 · #C532A3 · #B12248
Palette 030637
#030637 · #3C0753 · #720455 · #910A67
Palette 39065a
#39065A · #6A0572 · #9A0F98 · #EA0599
Modern Ruby Tempest
#421358 · #6E2B47 · #7B4D20 · #3C5419

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#3D065A#430A5D#420F55#3C0753#39065A#421358#471454#3A0A4C#3F134D#441752#3B1561#491656

Browse neighbouring colors

← #400A57  ·  #400A59 →

Frequently asked questions

What color is #400A58?

#400A58 is Deep Vivid Purple, a purple color (RGB 64, 10, 88). Its closest standard named color is Indigo.

What is the RGB and HSL of #400A58?

#400A58 is RGB 64, 10, 88 — HSL 282°, 80%, 19% — CMYK 27%, 89%, 0%, 65%.

What colors go with #400A58?

Its complement is #21570A; analogous partners are #190A57 and #570A48. It also appears in 6+ palettes in our collection.

Can I use #400A58 for text?

White text on #400A58 has a contrast ratio of 14.98:1 (passes WCAG AA); black text gives 1.40:1.