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

#5e51c2 is a saturated, cool indigo that commands attention without being aggressive. It works best as an accent color in digital UI rather than a dominant background, as its intensity can overwhelm the eye. Because white text creates a 6.1:1 contrast ratio, it remains readable for small body copy. Use this hex code to inject energy into tech-focused or creative branding projects.
Questions about #5e51c2
What is #5e51c2 in RGB, HSL and CMYK?
In RGB, #5e51c2 is rgb(94, 81, 194), in HSL hsl(247, 48%, 54%) and in CMYK 52%, 58%, 0%, 24%. Browse more shades of purple with names and hex codes.
What colors pair well with #5e51c2 for a balanced palette?
Because #5e51c2 is an intense indigo, it balances beautifully against neutral light-gray backgrounds or creates high-energy contrast when placed near bright-orange. Avoid pairing it with dark tones to prevent the palette from becoming visually muddy or overly heavy.
Is #5e51c2 readable on white or black?
#5e51c2 has a 6.11:1 contrast ratio on white and 3.43: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.