#340E71
Purple
HEX
RGB
HSL
About #340E71 Purple
#340E71 is a purple color. In the RGB color model, it is composed of 52 red, 14 green, and 113 blue. In the HSL color space, it has a hue of 263°, saturation of 78%, 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 #340E71 in your CSS, SCSS, or Tailwind projects.
Color Properties
263°
Hue
78%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #340E71 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340E71 against white and black backgrounds.
Aa#340E71 on White
Contrast Ratio14.51:1
AA ✓AA Large ✓AAA ✓
Aa#340E71 on Black
Contrast Ratio1.45:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340E71 across different color formats.
| Format | Value |
|---|---|
| HEX | #340E71 |
| RGB | rgb(52, 14, 113) |
| HSL | hsl(263, 78%, 25%) |
| RGB Decimal | 52, 14, 113 |
| RGB Percent | 20.4%, 5.5%, 44.3% |
| CMYK (approx.) | 54%, 88%, 0%, 56% |
Related Palettes
12 palettes using #340E71 or similar colors