Maroon Colors  ·  Color Library

Palettes / Colors / #400A64

#400A64 — Deep Vivid Purple

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

#400A64 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 #2F660A; it also sits naturally between #130A66 and #660A5D. In the palettes below you can see it working alongside real color combinations from our collection.

#400A64 · RGB 64, 10, 100

Download PNG swatch SVG

Color values

HEX#400A64
RGB64, 10, 100
HSL276°, 82%, 22%
HSV276°, 90%, 39%
CMYK36%, 90%, 0%, 61%
XYZ4.52, 2.23, 12.25
Yxy2.23, 0.2381, 0.1172
CIE-Lab16.64, 40.51, -40.28
Hunter Lab14.92, 29.24, -40.53

RGB & CMYK percentages

Red 25% · Green 4% · Blue 39%

Cyan 36% · Magenta 90% · Yellow 0% · Key 61%

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

Previews

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

CSS code for #400A64

.text { color: #400A64; }
.background { background-color: #400A64; }
.border { border: 3px solid #400A64; }
.text-rgb { color: rgb(64, 10, 100); }
.text-hsl { color: hsl(276, 82%, 22%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #400A64; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(64, 10, 100, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #400A64; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(64, 10, 100, 0.8); }

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

Shades of #400A64

#3B095D#350854#32084F#2D0746#27063C#210533#1B042A#180425#12031C#0C0213

Tints of #400A64

#560D87#6E11AC#8314CC#9920E9#A841EC#B761EF#C886F3#D6A7F6#E8CCFA#F6ECFD

Tones of #400A64

#40115F#3F1759#3D1E52#3C244C#3B2B45#39313F

Color harmonies

Complementary — #2F660A:

Analogous:

Triadic:

Contrast & accessibility

Against white text14.53:1 AAA
Against black text1.45:1 Fails

Best text color on #400A64: #FFFFFF.

Semi-transparent (opacity) text on #400A64

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

How #400A64 looks with color blindness

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

Protanopia · #29284EDeuteranopia · #2C3049Tritanopia · #3D3D39

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 slate 600 · #475569

Palettes with a similar color

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

Palette 440a67
#440A67 · #93329E · #B4AEE8 · #FFE3FE
Palette 430a5d
#430A5D · #5F374B · #8C6A5D · #EEE4B1
Hidden Bloom
#3951C5 · #472BCA · #3E1365 · #751C83
Royal Ruby Solace
#2A7EB1 · #1B38AB · #29176D · #471067
Palette 3d065a
#3D065A · #B51A62 · #70D4B4 · #DDDDC7
Tranquil Ruby Garden
#9956DC · #7027BA · #4D1E7B · #3B1561

Similar colors

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

#440A67#430A5D#3E1365#471067#3D065A#3B1561#39065A#4D0968#421358#3B0270#320A6B#4E096B

Browse neighbouring colors

← #400A63  ·  #400A65 →

Frequently asked questions

What color is #400A64?

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

What is the RGB and HSL of #400A64?

#400A64 is RGB 64, 10, 100 — HSL 276°, 82%, 22% — CMYK 36%, 90%, 0%, 61%.

What colors go with #400A64?

Its complement is #2F660A; analogous partners are #130A66 and #660A5D. It also appears in 6+ palettes in our collection.

Can I use #400A64 for text?

White text on #400A64 has a contrast ratio of 14.53:1 (passes WCAG AA); black text gives 1.45:1.