#08021F
Dark Purple
HEX
RGB
HSL
About #08021F Dark Purple
#08021F is a dark purple color. In the RGB color model, it is composed of 8 red, 2 green, and 31 blue. In the HSL color space, it has a hue of 252°, saturation of 88%, 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 #08021F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
252°
Hue
88%
Saturation
6%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #08021F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #08021F against white and black backgrounds.
Aa#08021F on White
Contrast Ratio20.22:1
AA ✓AA Large ✓AAA ✓
Aa#08021F on Black
Contrast Ratio1.04:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #08021F across different color formats.
| Format | Value |
|---|---|
| HEX | #08021F |
| RGB | rgb(8, 2, 31) |
| HSL | hsl(252, 88%, 6%) |
| RGB Decimal | 8, 2, 31 |
| RGB Percent | 3.1%, 0.8%, 12.2% |
| CMYK (approx.) | 74%, 94%, 0%, 88% |
Related Palettes
12 palettes using #08021F or similar colors