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