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