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

Deep and dim, this purple leans toward midnight violet rather than anything bright. The hex code #3a1a7a works best as a dominant base in dark mode UIs, luxury branding, and moody layouts, where white text reaches a strong 13.1:1 contrast. Pair it with dusty gold or muted mauve for a low-key palette, and skip bright accents that overpower its cool cast.
Questions about #3a1a7a
What is #3a1a7a in RGB, HSL and CMYK?
In RGB, #3a1a7a is rgb(58, 26, 122), in HSL hsl(260, 65%, 29%) and in CMYK 52%, 79%, 0%, 52%. Browse more shades of purple with names and hex codes.
What colors pair well with #3a1a7a?
Dusty mauve, muted gold, and soft slate blue flatter #3a1a7a without competing with its depth. Avoid bright reds and oranges, which clash with its cool violet cast.
Is #3a1a7a readable on white or black?
#3a1a7a has a 13.05:1 contrast ratio on white and 1.60: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.