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