#21147F Hex Color

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

Hex color #21147f graphic
This intense indigo sits between navy and deep violet, offering a serious, moody atmosphere for any design. It reads best as a dominant background color in dark mode UIs, especially since it maintains high legibility with white text. To balance its cool, saturated nature, try pairing it with muted gold or soft stone tones. The hex code for this color is #21147f.

Questions about #21147f

What is #21147f in RGB, HSL and CMYK?
In RGB, #21147f is rgb(33, 20, 127), in HSL hsl(247, 73%, 29%) and in CMYK 74%, 84%, 0%, 50%.
Why does #21147f work well for dark mode interfaces?
#21147f provides a sophisticated alternative to pure black backgrounds while maintaining excellent readability for white or light-toned UI elements. Its deep violet undertone offers a subtle richness that feels more premium and intentional than a standard navy.
What colors pair best with #21147f?
To balance the cool, saturated intensity of #21147f, use muted gold for high-impact accents or soft stone for a neutral, grounded secondary palette. These combinations soften the moody atmosphere while keeping the overall design clean and accessible.
Is #21147f readable on white or black?
#21147f has a 14.27:1 contrast ratio on white and 1.47: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.