#04020A
Dark Purple
HEX
RGB
HSL
About #04020A Dark Purple
#04020A is a dark purple color. In the RGB color model, it is composed of 4 red, 2 green, and 10 blue. In the HSL color space, it has a hue of 255°, saturation of 67%, and lightness of 2%.
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 & Gradients
Use #04020A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
255°
Hue
67%
Saturation
2%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #04020A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #04020A against white and black backgrounds.
Aa#04020A on White
Contrast Ratio20.62:1
AA ✓AA Large ✓AAA ✓
Aa#04020A on Black
Contrast Ratio1.02:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #04020A across different color formats.
| Format | Value |
|---|---|
| HEX | #04020A |
| RGB | rgb(4, 2, 10) |
| HSL | hsl(255, 67%, 2%) |
| RGB Decimal | 4, 2, 10 |
| RGB Percent | 1.6%, 0.8%, 3.9% |
| CMYK (approx.) | 60%, 80%, 0%, 96% |
Related Palettes
12 palettes using #04020A or similar colors