#340D3E
Dark Purple
HEX
RGB
HSL
About #340D3E Dark Purple
#340D3E is a dark purple color. In the RGB color model, it is composed of 52 red, 13 green, and 62 blue. In the HSL color space, it has a hue of 288°, saturation of 65%, and lightness of 15%.
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 & Gradients
Use #340D3E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
288°
Hue
65%
Saturation
15%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #340D3E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340D3E against white and black backgrounds.
Aa#340D3E on White
Contrast Ratio16.49:1
AA ✓AA Large ✓AAA ✓
Aa#340D3E on Black
Contrast Ratio1.27:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340D3E across different color formats.
| Format | Value |
|---|---|
| HEX | #340D3E |
| RGB | rgb(52, 13, 62) |
| HSL | hsl(288, 65%, 15%) |
| RGB Decimal | 52, 13, 62 |
| RGB Percent | 20.4%, 5.1%, 24.3% |
| CMYK (approx.) | 16%, 79%, 0%, 76% |
Related Palettes
12 palettes using #340D3E or similar colors