#5F4177 Hex Color

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

Hex color #5f4177 graphic
This muted, inky purple feels grounded and slightly moody without becoming overpowering. Because it is desaturated, #5f4177 works well as a supporting tone in dark mode interfaces or as a sophisticated background. It pairs exceptionally well with soft, creamy off-whites, which provide the high contrast needed for readability. The hex code for this serious, dusty shade is #5f4177.

Questions about #5f4177

What is #5f4177 in RGB, HSL and CMYK?
In RGB, #5f4177 is rgb(95, 65, 119), in HSL hsl(273, 29%, 36%) and in CMYK 20%, 45%, 0%, 53%. Browse more shades of purple with names and hex codes.
What colors pair best with #5f4177 for UI design?
High-contrast off-whites or pale, creamy neutrals create the best readability against #5f4177 in web interfaces. These light tones prevent the inky purple from feeling too dark while maintaining a sophisticated, modern aesthetic that feels balanced and approachable.
Is #5f4177 suitable for body text or large blocks of color?
Use #5f4177 primarily for accents, backgrounds, or headers rather than long-form body text. Because of its muted, desaturated depth, it lacks the high-contrast clarity required for standard reading, though it works beautifully as a grounding element for interface sections.
Is #5f4177 readable on white or black?
#5f4177 has a 8.36:1 contrast ratio on white and 2.50: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.