#31332A Hex Color

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

Hex color #31332a graphic
This dark, ashy olive shade sits between yellow and grey. The hex code #31332a functions best as a moody background or a grounding neutral for dark mode interfaces. It offers excellent legibility for white text, making it a functional choice for fine details. Use it to replace harsh blacks in compositions that require a softer, more organic aesthetic.

Questions about #31332a

What is #31332a in RGB, HSL and CMYK?
In RGB, #31332a is rgb(49, 51, 42), in HSL hsl(73, 10%, 18%) and in CMYK 4%, 0%, 18%, 80%. Browse more shades of black with names and hex codes.
Where should I use #31332a in a UI design?
#31332a functions best as a sophisticated background color for dark mode interfaces or as a grounding neutral for typography. It provides high legibility for white text while feeling significantly softer and more organic than standard charcoal or pure black.
What colors pair well with #31332a?
This ashy olive pairs beautifully with soft creams, warm beige, or muted terracotta to highlight its organic undertones. For a modern, high-contrast look, pair it with bright off-whites or metallic accents, which prevent the composition from feeling too muddy or flat.
Is #31332a readable on white or black?
#31332a has a 12.82:1 contrast ratio on white and 1.63: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.