#2F0040 Hex Color

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

Hex color #2f0040 graphic
A very dark, highly saturated purplish violet, #2f0040 creates a gloomy, serious mood with spiritual and mysterious undertones. The hex code works best as a dominant background for luxury, gaming, religious, or moody designs, paired with warm cream or muted gold. White text remains highly legible, with about a 17.6:1 contrast ratio.

Questions about #2f0040

What is #2f0040 in RGB, HSL and CMYK?
In RGB, #2f0040 is rgb(47, 0, 64), in HSL hsl(284, 100%, 13%) and in CMYK 27%, 100%, 0%, 75%. Browse more shades of purple with names and hex codes.
What colors pair well with #2f0040?
#2f0040 pairs well with warm cream and muted gold, which soften its near-black depth while preserving a refined, mysterious look; mauve can add a gentler, more romantic accent without losing the paletteโ€™s cool violet base.
What mood does #2f0040 create, and where does it work best?
#2f0040 reads as a cool, serious violet because its blue component exceeds its red component and its low lightness deepens the effect, making it effective for immersive gaming screens, luxury interfaces, spiritual themes, and moody editorial backgrounds.
Is #2f0040 readable on white or black?
#2f0040 has a 17.57:1 contrast ratio on white and 1.19: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.