#342F40 Hex Color

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

Hex color #342f40 graphic
#342f40 is a muted, desaturated purple that feels almost grey due to its low chroma. This dark tone offers high readability for white text, making it a reliable choice for dark mode UI backgrounds. While it appears moody and serious on its own, it pairs well with soft gold or cream accents to prevent the design from feeling too heavy or flat. The hex code for this color is #342f40.

Questions about #342f40

What is #342f40 in RGB, HSL and CMYK?
In RGB, #342f40 is rgb(52, 47, 64), in HSL hsl(258, 15%, 22%) and in CMYK 19%, 27%, 0%, 75%.
Is #342f40 effective for interface design?
Yes, #342f40 provides excellent readability for white text due to its dark, muted composition. It acts as a more nuanced, sophisticated alternative to pure black or flat charcoal backgrounds in dark mode layouts.
Which colors pair well with #342f40?
The desaturated quality of #342f40 responds beautifully to high-contrast warm accents like cream or soft gold. These pairings lift the moody nature of the purple, preventing the overall design from feeling too heavy or clinical.
Is #342f40 readable on white or black?
#342f40 has a 12.90:1 contrast ratio on white and 1.62: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.