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