#5A1287 Hex Color

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

Hex color #5a1287 graphic
Dark and highly saturated, #5a1287 is a cool violet-purple with a blue bias and strong visual weight. Its low lightness creates a serious, mysterious mood suited to moody interfaces, luxury branding, gaming, or spiritual designs. Use it as a dominant dark base with white type, which reaches about 11.2:1 contrast. The hex code is #5a1287.

Questions about #5a1287

What is #5a1287 in RGB, HSL and CMYK?
In RGB, #5a1287 is rgb(90, 18, 135), in HSL hsl(277, 76%, 30%) and in CMYK 33%, 87%, 0%, 47%.
What colors pair well with #5a1287?
#5a1287 pairs well with charcoal, soft cream, muted gold, and dusty mauve, which balance its dark saturation without competing with its violet bias. Use cream for readable type and muted gold for restrained accents in editorial, luxury, or cultural layouts.
Is #5a1287 readable on white or black?
#5a1287 has a 11.22:1 contrast ratio on white and 1.87: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.