#2D1938
Dark Purple
HEX
RGB
HSL
About #2D1938 Dark Purple
#2D1938 is a dark purple color. In the RGB color model, it is composed of 45 red, 25 green, and 56 blue. In the HSL color space, it has a hue of 279°, saturation of 38%, and lightness of 16%.
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
Use #2D1938 in your CSS, SCSS, or Tailwind projects.
Color Properties
279°
Hue
38%
Saturation
16%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #2D1938 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2D1938 against white and black backgrounds.
Aa#2D1938 on White
Contrast Ratio16.06:1
AA ✓AA Large ✓AAA ✓
Aa#2D1938 on Black
Contrast Ratio1.31:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2D1938 across different color formats.
| Format | Value |
|---|---|
| HEX | #2D1938 |
| RGB | rgb(45, 25, 56) |
| HSL | hsl(279, 38%, 16%) |
| RGB Decimal | 45, 25, 56 |
| RGB Percent | 17.6%, 9.8%, 22.0% |
| CMYK (approx.) | 20%, 55%, 0%, 78% |
Related Palettes
12 palettes using #2D1938 or similar colors