#312935 Hex Color

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

Hex color #312935 graphic
#312935 is a dark, dusty purple that functions like a softer charcoal. It provides a serious, muted base for modern UI designs. Because it offers excellent contrast for white text, it remains readable as a dark mode background. The hex code for this moody tone is #312935. Use this shade as a structural anchor rather than a small accent.

Questions about #312935

What is #312935 in RGB, HSL and CMYK?
In RGB, #312935 is rgb(49, 41, 53), in HSL hsl(280, 13%, 18%) and in CMYK 8%, 23%, 0%, 79%. Browse more shades of black with names and hex codes.
Is #312935 better for backgrounds or accents?
#312935 functions best as a structural anchor for backgrounds in modern interface design rather than an accent. Its high contrast against white text makes it an exceptionally readable choice for dark mode layouts, providing depth without the harshness of pure black.
What colors pair well with #312935?
#312935 pairs best with crisp, cool neutrals or vibrant, desaturated pastels to maintain its serious tone. Consider balancing this deep purple with off-white or soft-gray to ensure text readability, or add muted sage accents for a sophisticated, earthy color palette.
Is #312935 readable on white or black?
#312935 has a 14.00:1 contrast ratio on white and 1.49: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.