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

This intense, saturated violet carries a dark, moody weight that demands attention. Because #5f118f is highly pigmented and quite dark, it functions best as a dominant base or a bold accent color rather than fine text. Pair it with soft cream or pale grays to soften its serious character. The hex code for this shade is #5f118f, which offers excellent contrast against white text for accessible UI designs.
Questions about #5f118f
What is #5f118f in RGB, HSL and CMYK?
In RGB, #5f118f is rgb(95, 17, 143), in HSL hsl(277, 79%, 31%) and in CMYK 34%, 88%, 0%, 44%.
What colors pair well with #5f118f?
#5f118f works best when contrasted with lighter, neutral tones to balance its heavy saturation. You can create a sophisticated palette by pairing it with cream or pale, cool-toned grays, which prevent the violet from overwhelming your design elements.
Is #5f118f suitable for text on websites?
Using #5f118f as a text color requires caution because it is quite dark and may lack contrast against many backgrounds. It performs best as a bold, non-text accent color or a background that supports high-contrast white text for better accessibility.
Is #5f118f readable on white or black?
#5f118f has a 10.69: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.