#2E12A1
Purple
HEX
RGB
HSL
About #2E12A1 Purple
#2E12A1 is a purple color. In the RGB color model, it is composed of 46 red, 18 green, and 161 blue. In the HSL color space, it has a hue of 252°, saturation of 80%, 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 #2E12A1 in your CSS, SCSS, or Tailwind projects.
Color Properties
252°
Hue
80%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #2E12A1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2E12A1 against white and black backgrounds.
Aa#2E12A1 on White
Contrast Ratio12.23:1
AA ✓AA Large ✓AAA ✓
Aa#2E12A1 on Black
Contrast Ratio1.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2E12A1 across different color formats.
| Format | Value |
|---|---|
| HEX | #2E12A1 |
| RGB | rgb(46, 18, 161) |
| HSL | hsl(252, 80%, 35%) |
| RGB Decimal | 46, 18, 161 |
| RGB Percent | 18.0%, 7.1%, 63.1% |
| CMYK (approx.) | 71%, 89%, 0%, 37% |
Related Palettes
12 palettes using #2E12A1 or similar colors