#31315D Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

A dim, inky indigo pulled toward navy. #31315d is dark and heavily muted, which makes it a strong dominant base for dark mode layouts and moody brand palettes. White text reads clearly on it at roughly 12.2:1 contrast, past the WCAG AA threshold for small body text. Its one weakness: next to plain white it can look flat. Knowing what colors make purple helps explain its gray, ashlike undertone.
Questions about #31315d
What is #31315d in RGB, HSL and CMYK?
In RGB, #31315d is rgb(49, 49, 93), in HSL hsl(240, 31%, 28%) and in CMYK 47%, 47%, 0%, 64%. Browse more shades of purple with names and hex codes.
What colors pair well with #31315d?
Warm, slightly saturated tones give #31315d the most life. Burgundy, dusty rose, and burnt orange all read well against its cool, ashy base. Keep bright accents small so the indigo stays dominant.
Is #31315d readable on white or black?
#31315d has a 12.15:1 contrast ratio on white and 1.72: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.