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