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