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