#340D4A
Dark Purple
HEX
RGB
HSL
About #340D4A Dark Purple
#340D4A is a dark purple color. In the RGB color model, it is composed of 52 red, 13 green, and 74 blue. In the HSL color space, it has a hue of 278°, saturation of 70%, 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 #340D4A in your CSS, SCSS, or Tailwind projects.
Color Properties
278°
Hue
70%
Saturation
17%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #340D4A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340D4A against white and black backgrounds.
Aa#340D4A on White
Contrast Ratio16.12:1
AA ✓AA Large ✓AAA ✓
Aa#340D4A on Black
Contrast Ratio1.3:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340D4A across different color formats.
| Format | Value |
|---|---|
| HEX | #340D4A |
| RGB | rgb(52, 13, 74) |
| HSL | hsl(278, 70%, 17%) |
| RGB Decimal | 52, 13, 74 |
| RGB Percent | 20.4%, 5.1%, 29.0% |
| CMYK (approx.) | 30%, 82%, 0%, 71% |
Related Palettes
12 palettes using #340D4A or similar colors