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

Almost black with a faint violet undertone, #0d0a1c reads as a serious, somber shade. It functions best as a dramatic background for high-contrast UI, offering a more interesting alternative to pure black. Because white text creates a 19.5:1 contrast ratio here, it remains highly readable for body text. This hex code shines when paired with muted metallics or bright, energetic accent colors to break its gloomy mood.
Questions about #0d0a1c
What is #0d0a1c in RGB, HSL and CMYK?
In RGB, #0d0a1c is rgb(13, 10, 28), in HSL hsl(250, 47%, 7%) and in CMYK 54%, 64%, 0%, 89%.
How does #0d0a1c perform as a background color for text?
#0d0a1c functions as a highly effective, accessible background choice because it offers a 19.5:1 contrast ratio against white text. This makes it a perfect alternative to stark, pure black for long-form reading interfaces or modern web dashboards requiring high readability.
What colors pair well with #0d0a1c in a design scheme?
#0d0a1c pairs effectively with bright, energetic accents like electric blue or citrus yellow to break its somber mood. For a sophisticated, muted look, consider pairing it with muted gold or soft silver metallics to highlight its violet undertones.
Is #0d0a1c readable on white or black?
#0d0a1c has a 19.49:1 contrast ratio on white and 1.07: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.