#5751B4 Hex Color

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

Hex color #5751b4 graphic
With its cool violet undertone and strong saturation, #5751b4 is a dark, vivid indigo that brings focus without feeling harsh. The hex code #5751b4 suits calls to action, highlights, and creative branding, while its depth supports moody backgrounds and night-sky themes. White text has about 6.5:1 contrast against it, enough for WCAG AA body text. Its weight favors accents or supporting roles over full-page backgrounds.

Questions about #5751b4

What is #5751b4 in RGB, HSL and CMYK?
In RGB, #5751b4 is rgb(87, 81, 180), in HSL hsl(244, 40%, 51%) and in CMYK 52%, 55%, 0%, 29%. Browse more shades of purple with names and hex codes.
What colors pair well with #5751b4?
#5751b4 pairs well with charcoal, muted mauve, and warm copper, because those choices balance its cool violet cast while preserving its strong saturation and focused character across brand palettes, interface accents, editorial layouts, and expressive campaign graphics. Pale lavender can soften the contrast further.
Is #5751b4 readable on white or black?
#5751b4 has a 6.47:1 contrast ratio on white and 3.24: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.