#342A41
Dark Purple
HEX
RGB
HSL
About #342A41 Dark Purple
#342A41 is a dark purple color. In the RGB color model, it is composed of 52 red, 42 green, and 65 blue. In the HSL color space, it has a hue of 266°, saturation of 21%, 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
Use #342A41 in your CSS, SCSS, or Tailwind projects.
Color Properties
266°
Hue
21%
Saturation
21%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #342A41 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #342A41 against white and black backgrounds.
Aa#342A41 on White
Contrast Ratio13.52:1
AA ✓AA Large ✓AAA ✓
Aa#342A41 on Black
Contrast Ratio1.55:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #342A41 across different color formats.
| Format | Value |
|---|---|
| HEX | #342A41 |
| RGB | rgb(52, 42, 65) |
| HSL | hsl(266, 21%, 21%) |
| RGB Decimal | 52, 42, 65 |
| RGB Percent | 20.4%, 16.5%, 25.5% |
| CMYK (approx.) | 20%, 35%, 0%, 75% |
Related Palettes
12 palettes using #342A41 or similar colors