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