#312E56 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#312e56 is a dark, muted indigo-purple with cool blue and gray undertones. Its low saturation creates a serious, moody feel suited to dark-mode interfaces, night-sky themes, and formal branding. Use it as a dominant background with burgundy accents and white type. The hex code, #312e56, provides about 12.7:1 contrast with white.
Questions about #312e56
What is #312e56 in RGB, HSL and CMYK?
In RGB, #312e56 is rgb(49, 46, 86), in HSL hsl(245, 30%, 26%) and in CMYK 43%, 47%, 0%, 66%. Browse more shades of purple with names and hex codes.
What colors pair well with #312e56?
#312e56 pairs well with white, soft gray, and burgundy accents, while muted mauve or charcoal can support its cool, subdued character. Use lighter neutrals for readable text and warmer accents to keep the palette from feeling too cold.
Is #312e56 a warm or cool color?
#312e56 reads as a cool color because its indigo base carries blue undertones, while its gray content softens the intensity. That balance gives it a restrained, serious mood rather than the vivid energy of brighter purple or blue.
Is #312e56 readable on white or black?
#312e56 has a 12.68:1 contrast ratio on white and 1.65: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.