#340ECB
Vivid Purple
HEX
RGB
HSL
About #340ECB Vivid Purple
#340ECB is a vivid purple color. In the RGB color model, it is composed of 52 red, 14 green, and 203 blue. In the HSL color space, it has a hue of 252°, saturation of 87%, and lightness of 43%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #340ECB in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
252°
Hue
87%
Saturation
43%
Lightness
Vivid Purple
Color Harmonies
Colors that work well with #340ECB based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340ECB against white and black backgrounds.
Aa#340ECB on White
Contrast Ratio10.14:1
AA ✓AA Large ✓AAA ✓
Aa#340ECB on Black
Contrast Ratio2.07:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340ECB across different color formats.
| Format | Value |
|---|---|
| HEX | #340ECB |
| RGB | rgb(52, 14, 203) |
| HSL | hsl(252, 87%, 43%) |
| RGB Decimal | 52, 14, 203 |
| RGB Percent | 20.4%, 5.5%, 79.6% |
| CMYK (approx.) | 74%, 93%, 0%, 20% |
Related Palettes
12 palettes using #340ECB or similar colors