#3A1F5B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark, unsaturated, and moody, this deep violet carries a weight that feels both grounded and spiritual. The hex code #3a1f5b works best as a primary background for high-contrast, dark mode interfaces, as it allows white text to pop with excellent readability. Because of its muted, shadowy character, pair this color with soft gold or warm cream to avoid it feeling too cold.
Questions about #3a1f5b
What is #3a1f5b in RGB, HSL and CMYK?
In RGB, #3a1f5b is rgb(58, 31, 91), in HSL hsl(267, 49%, 24%) and in CMYK 36%, 66%, 0%, 64%. Browse more shades of purple with names and hex codes.
What colors pair well with #3a1f5b in a UI design?
This deep violet works best alongside soft gold or warm cream to break up its intensity and add visual warmth. Because #3a1f5b is dark and unsaturated, it provides a stable, high-contrast foundation that makes light-colored text elements pop.
Is #3a1f5b readable on white or black?
#3a1f5b has a 13.75:1 contrast ratio on white and 1.52: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.