#340E48
Dark Purple
HEX
RGB
HSL
About #340E48 Dark Purple
#340E48 is a dark purple color. In the RGB color model, it is composed of 52 red, 14 green, and 72 blue. In the HSL color space, it has a hue of 279°, saturation of 67%, and lightness of 17%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #340E48 in your CSS, SCSS, or Tailwind projects.
Color Properties
279°
Hue
67%
Saturation
17%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #340E48 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340E48 against white and black backgrounds.
Aa#340E48 on White
Contrast Ratio16.12:1
AA ✓AA Large ✓AAA ✓
Aa#340E48 on Black
Contrast Ratio1.3:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340E48 across different color formats.
| Format | Value |
|---|---|
| HEX | #340E48 |
| RGB | rgb(52, 14, 72) |
| HSL | hsl(279, 67%, 17%) |
| RGB Decimal | 52, 14, 72 |
| RGB Percent | 20.4%, 5.5%, 28.2% |
| CMYK (approx.) | 28%, 81%, 0%, 72% |
Related Palettes
12 palettes using #340E48 or similar colors