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