Maroon Colors  ·  Color Library

Palettes / Colors / #400A72

#400A72 — Deep Vivid Purple

#400A72 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 #400A72 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.

#400A72 is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #3B710A; it also sits naturally between #0C0A71 and #710A6F. In the palettes below you can see it working alongside real color combinations from our collection.

#400A72 · RGB 64, 10, 114

Download PNG swatch SVG

Color values

HEX#400A72
RGB64, 10, 114
HSL271°, 84%, 24%
HSV271°, 91%, 45%
CMYK44%, 91%, 0%, 55%
XYZ5.26, 2.52, 16.13
Yxy2.52, 0.2200, 0.1055
CIE-Lab18.02, 43.91, -47.17
Hunter Lab15.88, 32.69, -51.89

RGB & CMYK percentages

Red 25% · Green 4% · Blue 45%

Cyan 44% · Magenta 91% · Yellow 0% · Key 55%

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

Previews

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

CSS code for #400A72

.text { color: #400A72; }
.background { background-color: #400A72; }
.border { border: 3px solid #400A72; }
.text-rgb { color: rgb(64, 10, 114); }
.text-hsl { color: hsl(271, 84%, 24%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #400A72; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(64, 10, 114, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #400A72; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(64, 10, 114, 0.8); }

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

Shades of #400A72

#3A0967#34085E#2F0754#2A074B#250642#1F0538#1A042F#150326#10021C#0A0213

Tints of #400A72

#510D91#6410B2#7913D8#8B22EC#9C43EF#AD64F2#BF85F4#D2ABF8#E4CBFB#F5ECFD

Tones of #400A72

#3F1169#3E1862#3E205B#3E2753#3E2F4C#3D3645

Color harmonies

Complementary — #3B710A:

Analogous:

Triadic:

Contrast & accessibility

Against white text13.96:1 AAA
Against black text1.50:1 Fails

Best text color on #400A72: #FFFFFF.

Semi-transparent (opacity) text on #400A72

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 #400A72: ·

How #400A72 looks with color blindness

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

Protanopia · #292859Deuteranopia · #2C3053Tritanopia · #3D4541

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:

Tailwind slate 600 · #475569Tailwind gray 600 · #4B5563Tailwind zinc 600 · #52525B

Palettes with a similar color

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

Palette 3b0270
#3B0270 · #6F00FF · #E9B3FB · #FFF1F1
Palette 000000
#000000 · #150050 · #3F0071 · #610094
Palette 3a1078
#3A1078 · #4E31AA · #3795BD · #F7F7F8
Palette 440a67
#440A67 · #93329E · #B4AEE8 · #FFE3FE
Dusty Whisper
#BA68EE · #5A1287 · #4B0F71 · #2D0943
Modern Orchard
#18438A · #0B0B7A · #360C7B · #8A14B0

Similar colors

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

#3B0270#3F0071#3A1078#440A67#4B0F71#360C7B#471067#320A6B#4E096B#3D1180#3E1365#4D0968

Browse neighbouring colors

← #400A71  ·  #400A73 →

Frequently asked questions

What color is #400A72?

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

What is the RGB and HSL of #400A72?

#400A72 is RGB 64, 10, 114 — HSL 271°, 84%, 24% — CMYK 44%, 91%, 0%, 55%.

What colors go with #400A72?

Its complement is #3B710A; analogous partners are #0C0A71 and #710A6F. It also appears in 6+ palettes in our collection.

Can I use #400A72 for text?

White text on #400A72 has a contrast ratio of 13.96:1 (passes WCAG AA); black text gives 1.50:1.