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