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