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