#5831D8 Hex Color

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

Hex color #5831d8 graphic
A saturated, dark indigo with a blue-violet cast, #5831d8 brings strong energy without looking muted. The hex code #5831d8 works best as a focused accent for calls to action, creative branding, and moody spiritual interfaces. White text achieves about 7.4:1 contrast, making it suitable for readable body copy and bold headings.

Questions about #5831d8

What is #5831d8 in RGB, HSL and CMYK?
In RGB, #5831d8 is rgb(88, 49, 216), in HSL hsl(254, 68%, 52%) and in CMYK 59%, 77%, 0%, 15%.
What colors pair well with #5831d8?
The #5831d8 hex color pairs well with white, pale lavender, cool gray, and soft gold accents, creating contrast without competing with its blue-violet intensity. For darker layouts, use charcoal sparingly and reserve light text for readability.
Is #5831d8 a warm or cool color?
The #5831d8 hex color reads as cool because its saturated indigo base leans toward blue rather than red. Its blue-violet cast keeps it vivid and focused, while its darker value adds a dramatic, polished feel.
Is #5831d8 readable on white or black?
#5831d8 has a 7.37:1 contrast ratio on white and 2.84: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.