#1B0C31 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#1b0c31 is an unsaturated, near-black violet that leans toward a cold, ashy mood. Because it is so dark, this shade excels as a background base for high-contrast UI elements rather than small text. It pairs well with electric neons or muted, dusty grays to maintain visual weight. The hex code for this serious, shadowy tone is #1b0c31.
Questions about #1b0c31
What is #1b0c31 in RGB, HSL and CMYK?
In RGB, #1b0c31 is rgb(27, 12, 49), in HSL hsl(264, 61%, 12%) and in CMYK 45%, 76%, 0%, 81%. Browse more shades of purple with names and hex codes.
How should I use #1b0c31 in a UI design?
#1b0c31 functions best as a modern alternative to pure black for backgrounds or large footer sections. Because it is extremely dark, use it with high-contrast text like bright white or soft cream to maintain readability and visual depth.
What colors pair well with #1b0c31?
This near-black violet pairs effectively with electric neons like lime or cyan to create a striking, futuristic aesthetic. For a more subtle approach, combine it with muted dusty gray or soft lavender tones to keep the visual weight balanced and sophisticated.
Is #1b0c31 readable on white or black?
#1b0c31 has a 18.36:1 contrast ratio on white and 1.14: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.