#221731
Dark Purple
HEX
RGB
HSL
About #221731 Dark Purple
#221731 is a dark purple color. In the RGB color model, it is composed of 34 red, 23 green, and 49 blue. In the HSL color space, it has a hue of 265°, saturation of 36%, 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
Use #221731 in your CSS, SCSS, or Tailwind projects.
Color Properties
265°
Hue
36%
Saturation
14%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #221731 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #221731 against white and black backgrounds.
Aa#221731 on White
Contrast Ratio17.01:1
AA ✓AA Large ✓AAA ✓
Aa#221731 on Black
Contrast Ratio1.23:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #221731 across different color formats.
| Format | Value |
|---|---|
| HEX | #221731 |
| RGB | rgb(34, 23, 49) |
| HSL | hsl(265, 36%, 14%) |
| RGB Decimal | 34, 23, 49 |
| RGB Percent | 13.3%, 9.0%, 19.2% |
| CMYK (approx.) | 31%, 53%, 0%, 81% |
Related Palettes
12 palettes using #221731 or similar colors