#0F0C13 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #0f0c13 graphic
This near-black violet feels somber and serious. Because it sits so close to neutral black, it works best as a moody background or a grounding anchor for high-contrast palettes. When paired with bright neon accents, the purple undertones become visible and add unexpected depth to digital interfaces. The hex code for this ashy shade is #0f0c13, and it supports crisp white text for excellent legibility.

Questions about #0f0c13

What is #0f0c13 in RGB, HSL and CMYK?
In RGB, #0f0c13 is rgb(15, 12, 19), in HSL hsl(266, 23%, 6%) and in CMYK 21%, 37%, 0%, 93%.
How should I use #0f0c13 in interface design?
Use #0f0c13 as a dark, atmospheric background where you need deep contrast without the harshness of pure black. It pairs exceptionally well with bright neon accents or off-white text, adding a subtle, sophisticated purple undertone that feels modern and intentional.
Does #0f0c13 function well as a neutral color?
While #0f0c13 sits very close to neutral black, its slight violet pigment makes it a warmer alternative that avoids the flatness of true monochromatic shades. Use it to ground bright UI elements or to add richness to dark mode layouts.
Is #0f0c13 readable on white or black?
#0f0c13 has a 19.40:1 contrast ratio on white and 1.08:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.