#40368D Hex Color

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

Hex color #40368d graphic
#40368d is a dark indigo with navy weight and a muted, purple-leaning undertone. Its low lightness makes it a natural dark mode background, and white text reaches about 9.9:1 contrast, comfortably past AA for body copy. It reads richer beside amber or gold accents than against plain white. The hex code #40368d suits moody branding, night sky themes, and formal layouts.

Questions about #40368d

What is #40368d in RGB, HSL and CMYK?
In RGB, #40368d is rgb(64, 54, 141), in HSL hsl(247, 45%, 38%) and in CMYK 55%, 62%, 0%, 45%. Browse more shades of purple with names and hex codes.
What colors pair well with #40368d?
Warm accents like amber, mustard, and terracotta make the cool purple undertone in #40368d feel richer. Soft blues and violets work for analogous schemes, while full white backgrounds tend to wash out its depth.
Is #40368d readable on white or black?
#40368d has a 9.85:1 contrast ratio on white and 2.13: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.