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