#400B4C Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #400b4c graphic
The hex code #400b4c is a very dark, muted purple with a cool violet cast. Its serious, mysterious character suits moody backgrounds, luxury branding, gaming interfaces, and spiritual themes. Use it as a dominant dark base with pale text; white achieves about 15.3:1 contrast, meeting WCAG AA for body text.

Questions about #400b4c

What is #400b4c in RGB, HSL and CMYK?
In RGB, #400b4c is rgb(64, 11, 76), in HSL hsl(289, 75%, 17%) and in CMYK 16%, 86%, 0%, 70%.
What colors pair well with #400b4c?
#400b4c pairs with muted burgundy, dusty mauve, or warm cream for contrast that keeps its dark, cool-violet character grounded without making the palette feel overly bright or playful. A restrained cream background adds clarity while preserving its moody tone.
Is #400b4c readable on white or black?
#400b4c has a 15.32:1 contrast ratio on white and 1.37:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.