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

#342538 is a dense, dusty violet that sits right on the edge of black. This moody, unsaturated shade functions best as a sophisticated alternative to pure black for UI backgrounds or deep brand elements. Because it has such low chroma, it pairs effectively with soft creams or warm metallic accents. The hex code for this ashy purple is #342538.
Questions about #342538
What is #342538 in RGB, HSL and CMYK?
In RGB, #342538 is rgb(52, 37, 56), in HSL hsl(287, 20%, 18%) and in CMYK 7%, 34%, 0%, 78%.
How should I use #342538 in interface design?
#342538 works exceptionally well as a dark mode background or text color that feels softer than pure black. Its low chroma creates a grounded, professional atmosphere that pairs beautifully with cream or warm metallic accents to build visual hierarchy.
Does #342538 appear warm or cool?
While #342538 is technically a purple, it reads as a cool, grounded neutral due to its high density and low saturation. It avoids the neon vibrancy of brighter purples, making it feel more like an ashy charcoal or dark plum.
Is #342538 readable on white or black?
#342538 has a 14.30:1 contrast ratio on white and 1.46: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.