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

#313271 is a dark, muted indigo with cool blue and violet undertones. Its low saturation gives it a matte, serious feel suited to moody backgrounds, formal branding, and night-sky layouts. Use the hex code as a dominant base with burgundy accents or pale text. White text reaches about 11.5:1 contrast, supporting readable body copy.
Questions about #313271
What is #313271 in RGB, HSL and CMYK?
In RGB, #313271 is rgb(49, 50, 113), in HSL hsl(239, 40%, 32%) and in CMYK 57%, 56%, 0%, 56%. Browse more shades of purple with names and hex codes.
What colors pair well with #313271?
For a refined palette, pair #313271 with burgundy accents and warm ivory surfaces; pale blush can soften its severity without making the design feel playful. Keep brighter tones for highlights.
Is #313271 readable on white or black?
#313271 has a 11.50:1 contrast ratio on white and 1.82: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.