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