#31338F Hex Color

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

Hex color #31338f graphic
#31338f is a dark, moderately saturated indigo with a cool blue-violet undertone. This hex code feels serious, mysterious, and structured, making it effective for dark interfaces, formal branding, meditation themes, and large headings. Use it as a dominant base with burgundy or soft lavender accents; white text provides about 10.5:1 contrast and meets WCAG AA for body text.

Questions about #31338f

What is #31338f in RGB, HSL and CMYK?
In RGB, #31338f is rgb(49, 51, 143), in HSL hsl(239, 49%, 38%) and in CMYK 66%, 64%, 0%, 44%. Browse more shades of purple with names and hex codes.
What colors pair well with #31338f?
A muted burgundy accent pairs well with #31338f, adding warmth without weakening its formal mood, while soft lavender supports spiritual or creative layouts and keeps the palette from feeling overly severe.
Is #31338f readable on white or black?
#31338f has a 10.49:1 contrast ratio on white and 2.00: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.