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