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