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