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

This muted, inky purple carries a heavy, matte quality that feels both serious and restrained. Because of its extremely low saturation, #2f2747 works best as a dark-mode base rather than an accent. It pairs unexpectedly well with warm, desaturated gold or cream, which helps lift the color’s overall bleakness. With a 14.0:1 contrast ratio against white, it remains an excellent choice for legible UI body text.
Questions about #2f2747
What is #2f2747 in RGB, HSL and CMYK?
In RGB, #2f2747 is rgb(47, 39, 71), in HSL hsl(255, 29%, 22%) and in CMYK 34%, 45%, 0%, 72%.
Why is #2f2747 effective for UI design?
#2f2747 functions exceptionally well as a dark-mode base because it offers a 14.0:1 contrast ratio against white text, ensuring maximum readability. Its heavy, matte quality reduces screen glare while maintaining a professional, serious aesthetic that feels less aggressive than pure black.
What colors pair best with #2f2747?
This deep purple benefits from warm, desaturated tones to counteract its inherent bleakness. Pair it with cream or muted gold accents to create visual warmth, or use soft gray to keep the overall interface professional and understated.
Is #2f2747 readable on white or black?
#2f2747 has a 13.98:1 contrast ratio on white and 1.50: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.