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