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