#2F1F58 Hex Color

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

Hex color #2f1f58 graphic
This dim, unsaturated purple feels heavy and grounded, making it ideal for dark mode interfaces or moody, atmospheric branding. The hex code #2f1f58 offers excellent contrast for white text, ensuring high readability even at small sizes. Use it as a deep background base rather than an accent to maintain its somber, serious character in your design palette.

Questions about #2f1f58

What is #2f1f58 in RGB, HSL and CMYK?
In RGB, #2f1f58 is rgb(47, 31, 88), in HSL hsl(257, 48%, 23%) and in CMYK 47%, 65%, 0%, 65%.
What design scenarios work best for #2f1f58?
#2f1f58 functions most effectively as a dark, atmospheric background base rather than a subtle accent color. Because it is highly unsaturated and dark, it provides a stable, serious foundation for modern interface design that requires high readability with light or white text.
Is #2f1f58 readable on white or black?
#2f1f58 has a 14.40:1 contrast ratio on white and 1.45: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.