#2F1353 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This deep, unsaturated violet creates a serious, mysterious tone for dark mode interfaces. Because the color is so dark, white text provides excellent readability at a 15.7:1 contrast ratio, making it a strong choice for UI backgrounds. The hex code for this moody shade is #2f1353. It works best when paired with soft, desaturated accents to maintain a disciplined and structured feel.
Questions about #2f1353
What is #2f1353 in RGB, HSL and CMYK?
In RGB, #2f1353 is rgb(47, 19, 83), in HSL hsl(266, 63%, 20%) and in CMYK 43%, 77%, 0%, 67%.
Does #2f1353 work well for website text?
Using #2f1353 for body text is generally not recommended as it lacks sufficient contrast against white or light backgrounds. It performs best as a full-screen background color where white text provides a high, accessible 15.7:1 contrast ratio for your users.
What colors pair best with #2f1353?
This deep violet pairs best with soft, desaturated accents to maintain a structured and disciplined feel. Try mixing it with soft gray for secondary elements or a muted cream for headlines to balance the heavy, mysterious atmosphere of the shade.
Is #2f1353 readable on white or black?
#2f1353 has a 15.68:1 contrast ratio on white and 1.33: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.