#2F2542 Hex Color

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

Hex color #2f2542 graphic
This dark, desaturated violet carries a dusty, muted quality that feels grounded and serious. As a backdrop for dark mode interfaces, #2f2542 offers a softer, more modern alternative to standard black. White text pairs perfectly with this hex code, providing a high 14.3:1 contrast ratio for excellent legibility. Use it as a dominant base for moody, tech-focused design palettes.

Questions about #2f2542

What is #2f2542 in RGB, HSL and CMYK?
In RGB, #2f2542 is rgb(47, 37, 66), in HSL hsl(261, 28%, 20%) and in CMYK 29%, 44%, 0%, 74%.
Is #2f2542 a good choice for dark mode UI?
Yes, #2f2542 works exceptionally well for dark mode interfaces because it provides a much softer, more sophisticated background than standard black. It maintains a high 14.3:1 contrast ratio with white text, ensuring excellent legibility while reducing eye strain during extended use.
What colors pair best with the muted violet #2f2542?
To complement the serious nature of #2f2542, use high-contrast accents like a crisp off-white or a soft cream for text. For a more adventurous palette, consider incorporating subtle hints of gold or dusty rose to highlight elements against this dark backdrop.
Is #2f2542 readable on white or black?
#2f2542 has a 14.34:1 contrast ratio on white and 1.46: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.