#5F1B82 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark and saturated, #5f1b82 has a cool violet cast that gives layouts a serious, mysterious mood. It works well in moody branding, gaming interfaces, spiritual themes, and luxury packaging as a supporting tone. White text reads clearly against it at about a 10.7:1 contrast ratio. This makes the hex code suitable for accessible headings and body text.
Questions about #5f1b82
What is #5f1b82 in RGB, HSL and CMYK?
In RGB, #5f1b82 is rgb(95, 27, 130), in HSL hsl(280, 66%, 31%) and in CMYK 27%, 79%, 0%, 49%. Browse more shades of purple with names and hex codes.
What colors pair well with #5f1b82?
#5f1b82 pairs well with white, lavender, and yellow-green accents because those lighter or contrasting tones balance its deep cool violet while preserving a dramatic, polished feel overall in most layouts.
Is #5f1b82 a warm or cool color?
#5f1b82 reads as a cool color because its violet hue leans toward blue rather than red, giving the shade a reserved, mysterious character that works well in dark interfaces and restrained visual identities.
Is #5f1b82 readable on white or black?
#5f1b82 has a 10.68:1 contrast ratio on white and 1.96: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.