#342A42
Dark Purple
HEX
RGB
HSL
About #342A42 Dark Purple
#342A42 is a dark purple color. In the RGB color model, it is composed of 52 red, 42 green, and 66 blue. In the HSL color space, it has a hue of 265°, saturation of 22%, and lightness of 21%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code & Gradients
Use #342A42 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
265°
Hue
22%
Saturation
21%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #342A42 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #342A42 against white and black backgrounds.
Aa#342A42 on White
Contrast Ratio13.5:1
AA ✓AA Large ✓AAA ✓
Aa#342A42 on Black
Contrast Ratio1.56:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #342A42 across different color formats.
| Format | Value |
|---|---|
| HEX | #342A42 |
| RGB | rgb(52, 42, 66) |
| HSL | hsl(265, 22%, 21%) |
| RGB Decimal | 52, 42, 66 |
| RGB Percent | 20.4%, 16.5%, 25.9% |
| CMYK (approx.) | 21%, 36%, 0%, 74% |
Related Palettes
12 palettes using #342A42 or similar colors