#2E1178
Purple
HEX
RGB
HSL
About #2E1178 Purple
#2E1178 is a purple color. In the RGB color model, it is composed of 46 red, 17 green, and 120 blue. In the HSL color space, it has a hue of 257°, saturation of 75%, and lightness of 27%.
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 #2E1178 in your CSS, SCSS, or Tailwind projects.
Color Properties
257°
Hue
75%
Saturation
27%
Lightness
Purple
Color Harmonies
Colors that work well with #2E1178 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2E1178 against white and black backgrounds.
Aa#2E1178 on White
Contrast Ratio14.31:1
AA ✓AA Large ✓AAA ✓
Aa#2E1178 on Black
Contrast Ratio1.47:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2E1178 across different color formats.
| Format | Value |
|---|---|
| HEX | #2E1178 |
| RGB | rgb(46, 17, 120) |
| HSL | hsl(257, 75%, 27%) |
| RGB Decimal | 46, 17, 120 |
| RGB Percent | 18.0%, 6.7%, 47.1% |
| CMYK (approx.) | 62%, 86%, 0%, 53% |
Related Palettes
12 palettes using #2E1178 or similar colors