#5F2761 Hex Color

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

Hex color #5f2761 graphic
#5f2761 is a dim, desaturated violet with cool undertones that lean toward a moody gray. Because this hex code maintains an excellent 10.8:1 contrast ratio against white, it serves as a highly readable base for small body text. Use it in dark mode interfaces when you need a serious, grounded aesthetic. This color pairs best with soft creams or warm metallic accents.

Questions about #5f2761

What is #5f2761 in RGB, HSL and CMYK?
In RGB, #5f2761 is rgb(95, 39, 97), in HSL hsl(298, 43%, 27%) and in CMYK 2%, 60%, 0%, 62%. Browse more shades of purple with names and hex codes.
Why is #5f2761 useful for UI design?
With a strong 10.8:1 contrast ratio against white, #5f2761 works exceptionally well as a grounded base for body text in dark mode interfaces. It delivers professional legibility without the jarring intensity of brighter, more saturated purples.
What colors pair well with #5f2761?
Soft, warm neutrals like cream or ivory balance the cool, moody undertones of #5f2761 effectively. For a metallic touch, pairing it with muted gold or champagne accents adds visual depth and a touch of sophistication to your design.
Is #5f2761 readable on white or black?
#5f2761 has a 10.77:1 contrast ratio on white and 1.94: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.