#40388A Hex Color

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

Hex color #40388a graphic
#40388a is a dark indigo with a muted, navy lean. Its low lightness and restrained saturation give it a serious, slightly gloomy character, so it performs best as a dominant base in dark UI, formal branding, and moody layouts. White text on top hits about 9.8:1 contrast, which clears WCAG AA for small body copy. Pair it with burgundy or aged gold instead of bright neons, which fight its depth.

Questions about #40388a

What is #40388a in RGB, HSL and CMYK?
In RGB, #40388a is rgb(64, 56, 138), in HSL hsl(246, 42%, 38%) and in CMYK 54%, 59%, 0%, 46%. Browse more shades of purple with names and hex codes.
What colors pair well with #40388a?
Warm accents flatter this deep blue-violet best. Try aged gold, amber, or burgundy for rich contrast, or sage for a softer, muted palette.
Is #40388a readable on white or black?
#40388a has a 9.76:1 contrast ratio on white and 2.15: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.