#5D27A4 Hex Color

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

Hex color #5d27a4 graphic
This saturated, deep violet balances intensity with a cool, grounded undertone. Hex code #5d27a4 functions best as a strong accent color or for bold UI branding elements. Because it is dark and pigmented, it offers excellent readability with white text, maintaining a 9.2:1 contrast ratio. Use it sparingly in large backgrounds, as its heavy saturation can easily overpower more delicate design components.

Questions about #5d27a4

What is #5d27a4 in RGB, HSL and CMYK?
In RGB, #5d27a4 is rgb(93, 39, 164), in HSL hsl(266, 62%, 40%) and in CMYK 43%, 76%, 0%, 36%.
What colors pair best with #5d27a4?
This deep violet pairs exceptionally well with muted neutrals like charcoal or soft off-whites to let its natural intensity stand out. For a more dynamic palette, try pairing it with complementary yellow tones to create a balanced, high-energy contrast.
Is #5d27a4 readable on white or black?
#5d27a4 has a 9.16:1 contrast ratio on white and 2.29: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.