#2A1877
Purple
HEX
RGB
HSL
About #2A1877 Purple
#2A1877 is a purple color. In the RGB color model, it is composed of 42 red, 24 green, and 119 blue. In the HSL color space, it has a hue of 251°, saturation of 66%, and lightness of 28%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #2A1877 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
251°
Hue
66%
Saturation
28%
Lightness
Purple
Color Harmonies
Colors that work well with #2A1877 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A1877 against white and black backgrounds.
Aa#2A1877 on White
Contrast Ratio14.04:1
AA ✓AA Large ✓AAA ✓
Aa#2A1877 on Black
Contrast Ratio1.5:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A1877 across different color formats.
| Format | Value |
|---|---|
| HEX | #2A1877 |
| RGB | rgb(42, 24, 119) |
| HSL | hsl(251, 66%, 28%) |
| RGB Decimal | 42, 24, 119 |
| RGB Percent | 16.5%, 9.4%, 46.7% |
| CMYK (approx.) | 65%, 80%, 0%, 53% |
Related Palettes
12 palettes using #2A1877 or similar colors