#340D72
Purple
HEX
RGB
HSL
About #340D72 Purple
#340D72 is a purple color. In the RGB color model, it is composed of 52 red, 13 green, and 114 blue. In the HSL color space, it has a hue of 263°, saturation of 80%, and lightness of 25%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #340D72 in your CSS, SCSS, or Tailwind projects.
Color Properties
263°
Hue
80%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #340D72 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340D72 against white and black backgrounds.
Aa#340D72 on White
Contrast Ratio14.52:1
AA ✓AA Large ✓AAA ✓
Aa#340D72 on Black
Contrast Ratio1.45:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340D72 across different color formats.
| Format | Value |
|---|---|
| HEX | #340D72 |
| RGB | rgb(52, 13, 114) |
| HSL | hsl(263, 80%, 25%) |
| RGB Decimal | 52, 13, 114 |
| RGB Percent | 20.4%, 5.1%, 44.7% |
| CMYK (approx.) | 54%, 89%, 0%, 55% |
Related Palettes
12 palettes using #340D72 or similar colors