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