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