#312876 Hex Color

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

Hex color #312876 graphic
Dark indigo with a muted, navy-leaning weight. #312876 works best as a base color for dark mode UI or moody brand palettes, where its low lightness sets a serious tone. White text on this hex code reaches about 12.4:1 contrast, well past AA. It pairs better with warm accents like burnt orange or antique gold than with bright blues.

Questions about #312876

What is #312876 in RGB, HSL and CMYK?
In RGB, #312876 is rgb(49, 40, 118), in HSL hsl(247, 49%, 31%) and in CMYK 58%, 66%, 0%, 54%. Browse more shades of purple with names and hex codes.
What colors pair well with #312876?
Warm accents like burnt orange, antique gold, and terracotta bring out its depth without competing with it. Cool blues and grays tend to flatten it, so use them sparingly.
Is #312876 readable on white or black?
#312876 has a 12.38:1 contrast ratio on white and 1.69: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.