#5225B7 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Reach for #5225b7 when a dark interface needs a purple that stays moody without going black. This hex code sits deep and dim, with a cool blue undertone that reads serious and a little mysterious. Use it as a dominant base in gaming or luxury layouts, then warm it up with muted gold accents. White text clears AA comfortably at roughly 9.1:1 contrast.
Questions about #5225b7
What is #5225b7 in RGB, HSL and CMYK?
In RGB, #5225b7 is rgb(82, 37, 183), in HSL hsl(258, 66%, 43%) and in CMYK 55%, 80%, 0%, 28%. Browse more shades of purple with names and hex codes.
What text color works on #5225b7?
White text on #5225b7 reaches about 9.1:1 contrast, well above the 4.5:1 WCAG AA threshold for body text. Black text falls under 2:1, so keep type light on this shade.
What colors pair well with #5225b7?
Muted gold, dusty plum, and taupe flatter #5225b7 without stealing its depth. Skip bright greens, which clash against its cool blue undertone.
Is #5225b7 readable on white or black?
#5225b7 has a 9.10:1 contrast ratio on white and 2.30: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.