#5640A0 Hex Color

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

Hex color #5640a0 graphic
Dark and dim with a cool violet undertone, #5640a0 is a muted purple that stays deep without going black. It earns its keep as a dark mode base or UI background, where white text clears WCAG AA at about 8.0:1 contrast. Pair it with warm amber or soft apricot to keep large surfaces from reading flat.

Questions about #5640a0

What is #5640a0 in RGB, HSL and CMYK?
In RGB, #5640a0 is rgb(86, 64, 160), in HSL hsl(254, 43%, 44%) and in CMYK 46%, 60%, 0%, 37%.
What colors pair well with #5640a0?
Warm accents work best against this cool purple. Amber, dusty peach, and soft gold all brighten #5640a0 without clashing, while a muted teal makes a low-key analogous option for calmer palettes.
Is #5640a0 readable on white or black?
#5640a0 has a 7.96:1 contrast ratio on white and 2.63: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.