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

A saturated, cool violet with significant depth, #5f259f brings a serious and moody tone to digital projects. Because it is dark and intense, it works best as a primary branding element or a bold UI accent rather than a full background. Pair it with crisp white text for excellent legibility. The hex code for this shade is #5f259f.
Questions about #5f259f
What is #5f259f in RGB, HSL and CMYK?
In RGB, #5f259f is rgb(95, 37, 159), in HSL hsl(269, 62%, 38%) and in CMYK 40%, 77%, 0%, 38%. Browse more shades of purple with names and hex codes.
How do I best use #5f259f in a website UI?
#5f259f works best as a high-impact accent for buttons, active states, or headers where you need immediate attention. Because of its intense saturation, it can overwhelm layouts if used as a background, so pair it with crisp white text to maintain essential readability.
Is #5f259f readable on white or black?
#5f259f has a 9.32:1 contrast ratio on white and 2.25: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.