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