#0A0812 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This near-black shade is an inky, somber tone with subtle violet undertones. Because it creates a 19.9:1 contrast ratio with white, it serves as a reliable, high-legibility background for dark mode interfaces. The hex code #0a0812 works best as a dominant base, as it grounds a palette better than pure black. Pair it with soft gold or warm cream to prevent the design from feeling too bleak.
Questions about #0a0812
What is #0a0812 in RGB, HSL and CMYK?
In RGB, #0a0812 is rgb(10, 8, 18), in HSL hsl(252, 38%, 5%) and in CMYK 44%, 56%, 0%, 93%.
How should I use #0a0812 in a color palette?
#0a0812 works best as a dominant base color because it grounds a design more naturally than pure black. Balance its heavy, somber weight by pairing it with soft gold or warm cream to keep the interface feeling grounded but approachable.
Does #0a0812 work well for text backgrounds?
Yes, #0a0812 provides a 19.9:1 contrast ratio against white text, making it a professional, high-legibility choice for dark mode UI. Its subtle violet undertones offer a softer visual experience compared to the intensity of a flat, standard black.
Is #0a0812 readable on white or black?
#0a0812 has a 19.87:1 contrast ratio on white and 1.05: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.