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

Not a bright violet, #3a317f is a dark indigo with a muted, almost navy weight. Its low saturation and dim lightness read cold and serious, which suits dark mode backgrounds, formal branding, and night sky themes. As a dominant base, it supports white text at a 10.9:1 contrast ratio. Pair it with terracotta for warmth or mauve for a softer palette.
Questions about #3a317f
What is #3a317f in RGB, HSL and CMYK?
In RGB, #3a317f is rgb(58, 49, 127), in HSL hsl(247, 44%, 35%) and in CMYK 54%, 61%, 0%, 50%.
What text color works best on #3a317f?
White text is the clearest choice, reaching about 10.9:1 contrast against #3a317f. That comfortably passes the WCAG AA requirement of 4.5:1, so it works for small body text, not just large headings.
Which colors pair well with #3a317f?
Warm accents like terracotta cut through its coldness and keep palettes from feeling flat. For a softer look, dusty mauve or muted gold both sit comfortably beside its purple undertone.
Is #3a317f readable on white or black?
#3a317f has a 10.90:1 contrast ratio on white and 1.92: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.