#282031
Dark Purple
HEX
RGB
HSL
About #282031 Dark Purple
#282031 is a dark purple color. In the RGB color model, it is composed of 40 red, 32 green, and 49 blue. In the HSL color space, it has a hue of 268°, saturation of 21%, and lightness of 16%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #282031 in your CSS, SCSS, or Tailwind projects.
Color Properties
268°
Hue
21%
Saturation
16%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #282031 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #282031 against white and black backgrounds.
Aa#282031 on White
Contrast Ratio15.66:1
AA ✓AA Large ✓AAA ✓
Aa#282031 on Black
Contrast Ratio1.34:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #282031 across different color formats.
| Format | Value |
|---|---|
| HEX | #282031 |
| RGB | rgb(40, 32, 49) |
| HSL | hsl(268, 21%, 16%) |
| RGB Decimal | 40, 32, 49 |
| RGB Percent | 15.7%, 12.5%, 19.2% |
| CMYK (approx.) | 18%, 35%, 0%, 81% |
Related Palettes
12 palettes using #282031 or similar colors