#08021C
Dark Purple
HEX
RGB
HSL
About #08021C Dark Purple
#08021C is a dark purple color. In the RGB color model, it is composed of 8 red, 2 green, and 28 blue. In the HSL color space, it has a hue of 254°, saturation of 87%, and lightness of 6%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #08021C in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
254°
Hue
87%
Saturation
6%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #08021C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #08021C against white and black backgrounds.
Aa#08021C on White
Contrast Ratio20.27:1
AA ✓AA Large ✓AAA ✓
Aa#08021C on Black
Contrast Ratio1.04:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #08021C across different color formats.
| Format | Value |
|---|---|
| HEX | #08021C |
| RGB | rgb(8, 2, 28) |
| HSL | hsl(254, 87%, 6%) |
| RGB Decimal | 8, 2, 28 |
| RGB Percent | 3.1%, 0.8%, 11.0% |
| CMYK (approx.) | 71%, 93%, 0%, 89% |
Related Palettes
12 palettes using #08021C or similar colors