#342A48 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This desaturated, inky purple carries a heavy, matte quality that excels as a background for dark-themed user interfaces. Because the hex code #342a48 is quite dark, white text remains highly legible against it. Pair this shade with soft teals or muted golds to cut through its gloominess and add structure to your design. It provides a stable, serious foundation without being purely black.
Questions about #342a48
What is #342a48 in RGB, HSL and CMYK?
In RGB, #342a48 is rgb(52, 42, 72), in HSL hsl(260, 26%, 22%) and in CMYK 28%, 42%, 0%, 72%. Browse more shades of purple with names and hex codes.
What colors pair well with #342a48?
Soft teals and muted golds work best to cut through the heavy, dark nature of #342a48. Because this shade is desaturated, adding a touch of vibrant teal creates necessary visual interest and structural contrast without overwhelming your interface.
Is #342a48 readable on white or black?
#342a48 has a 13.36:1 contrast ratio on white and 1.57: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.