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

Dark and muted, #31295f is a cool purple with a dusty violet undertone. Its low lightness gives designs a serious, mysterious mood without black’s sharpness. Use the hex code as a dominant background for dark-mode interfaces, luxury branding, or spiritual themes, then add warm cream or muted gold for contrast. White text reads clearly at about 13.0:1.
Questions about #31295f
What is #31295f in RGB, HSL and CMYK?
In RGB, #31295f is rgb(49, 41, 95), in HSL hsl(249, 40%, 27%) and in CMYK 48%, 57%, 0%, 63%. Browse more shades of purple with names and hex codes.
What colors pair well with #31295f?
#31295f pairs well with warm cream, soft white, muted gold, and dusty mauve, which soften its cool, deep-purple character while preserving a refined mood; cream suits calm contrast, while muted gold adds polished accents to dark interfaces or luxury branding.
Is #31295f readable on white or black?
#31295f has a 13.01:1 contrast ratio on white and 1.61: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.