#2F0070 Hex Color

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

Hex color #2f0070 graphic
This intense, near-black violet carries a heavy, serious mood. Because #2f0070 is extremely dark, use it as a base for moody, high-contrast interfaces where white text remains crisp and readable. It works best in digital branding or dark mode applications, but avoid using it for fine details since it can easily lose definition against black backgrounds. The hex code for this deep shade is #2f0070.

Questions about #2f0070

What is #2f0070 in RGB, HSL and CMYK?
In RGB, #2f0070 is rgb(47, 0, 112), in HSL hsl(265, 100%, 22%) and in CMYK 58%, 100%, 0%, 56%.
How should I use #2f0070 in a user interface?
#2f0070 performs best as a full-page background color or a primary container shade in dark mode designs. Because it is extremely dark, ensure you use high-contrast white or very light text to maintain readability and accessibility standards.
What colors pair well with #2f0070?
#2f0070 works beautifully with gold or amber accents, as these warm tones provide a striking contrast against the violet base. For a more neutral look, try pairing this deep shade with slate or cool silver elements.
Is #2f0070 readable on white or black?
#2f0070 has a 15.50:1 contrast ratio on white and 1.35: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.