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