#420D8F Hex Color

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

Hex color #420d8f graphic
Not a bright violet, #420d8f is a dark, cold purple that leans toward indigo. Its low lightness suits dark mode interfaces and moody brand palettes, and white text holds about 12.5:1 contrast on top, clearing WCAG AA for small type. Pair it with muted gold or dusty rose so it reads rich instead of flat.

Questions about #420d8f

What is #420d8f in RGB, HSL and CMYK?
In RGB, #420d8f is rgb(66, 13, 143), in HSL hsl(264, 83%, 31%) and in CMYK 54%, 91%, 0%, 44%.
What text color works best on #420d8f?
White text reads most clearly, at about 12.5:1 contrast, well above the 4.5:1 WCAG AA threshold for body copy. Black text falls short on this dark purple and should be avoided for anything but large decorative type.
What colors pair well with #420d8f?
Muted gold and dusty rose keep this purple from reading flat, while teal and chartreuse give it sharper contrast. Treat it as a dominant base color and place lighter accents on top.
Is #420d8f readable on white or black?
#420d8f has a 12.45:1 contrast ratio on white and 1.68: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.