#5204C9 Hex Color

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

Hex color #5204c9 graphic
#5204c9 is a deep violet with a cool, electric undertone. Saturation runs high while lightness stays low, which gives it a moody, mysterious edge suited to dark mode UIs, gaming, and luxury branding. White text reads clearly on top, so it holds up as a dominant base for large type. Pair it with muted gold or deep plum to keep the palette from feeling one note.

Questions about #5204c9

What is #5204c9 in RGB, HSL and CMYK?
In RGB, #5204c9 is rgb(82, 4, 201), in HSL hsl(264, 96%, 40%) and in CMYK 59%, 98%, 0%, 21%.
What colors pair well with #5204c9?
Muted gold brings out its richness, while deep plum or desaturated teal keeps palettes moody. Treat #5204c9 as a dominant base and let warmer accents cover small areas so the violet stays strong without flattening the design.
Is #5204c9 readable on white or black?
#5204c9 has a 9.46:1 contrast ratio on white and 2.21: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.