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