#2A1537
Dark Purple
HEX
RGB
HSL
About #2A1537 Dark Purple
#2A1537 is a dark purple color. In the RGB color model, it is composed of 42 red, 21 green, and 55 blue. In the HSL color space, it has a hue of 277°, saturation of 45%, and lightness of 15%.
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 #2A1537 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
277°
Hue
45%
Saturation
15%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #2A1537 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A1537 against white and black backgrounds.
Aa#2A1537 on White
Contrast Ratio16.66:1
AA ✓AA Large ✓AAA ✓
Aa#2A1537 on Black
Contrast Ratio1.26:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A1537 across different color formats.
| Format | Value |
|---|---|
| HEX | #2A1537 |
| RGB | rgb(42, 21, 55) |
| HSL | hsl(277, 45%, 15%) |
| RGB Decimal | 42, 21, 55 |
| RGB Percent | 16.5%, 8.2%, 21.6% |
| CMYK (approx.) | 24%, 62%, 0%, 78% |
Related Palettes
12 palettes using #2A1537 or similar colors