#1B131A Hex Color

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

Hex color #1b131a graphic
#1b131a is an extremely dark, desaturated magenta that sits right on the edge of black. It offers a sophisticated alternative to pure black, lending a moody warmth to UI backgrounds. Because it provides an 18.2:1 contrast ratio against white, it remains highly readable for body text. Use this hex code as a base for high-contrast palettes alongside soft, muted accents.

Questions about #1b131a

What is #1b131a in RGB, HSL and CMYK?
In RGB, #1b131a is rgb(27, 19, 26), in HSL hsl(308, 17%, 9%) and in CMYK 0%, 30%, 4%, 89%. Browse more shades of black with names and hex codes.
Why use #1b131a instead of pure black?
#1b131a provides a warmer, more sophisticated aesthetic for user interfaces while maintaining a high contrast ratio against white. Pure black can often appear harsh on screens, whereas this desaturated magenta undertone feels softer and more intentional for modern web design.
What colors pair well with #1b131a?
This deep shade anchors bright, muted accents exceptionally well, particularly soft lavender or dusty rose tones. For a professional UI, pair it with off-white text to preserve accessibility while keeping the overall palette moody and balanced.
Is #1b131a readable on white or black?
#1b131a has a 18.18:1 contrast ratio on white and 1.15: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.