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