#40048B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#40048b is a deep violet that sits close to indigo on the edge of black. Its low lightness and cold undertone give it a serious, mysterious mood, which suits dark mode interfaces, gaming, and luxury branding. White text reads clearly on it at about 13.1:1 contrast. It works best as a dominant base, and looks richer against muted gold than bright neon.
Questions about #40048b
What is #40048b in RGB, HSL and CMYK?
In RGB, #40048b is rgb(64, 4, 139), in HSL hsl(267, 94%, 28%) and in CMYK 54%, 97%, 0%, 45%. Browse more shades of purple with names and hex codes.
What colors pair well with #40048b?
Muted gold and amber bring out the richness in this dark violet, while dusty pink and mauve soften it. Avoid pairing it with bright purple or saturated red, which fight for attention. Warm neutrals like cream keep it from feeling heavy.
Is #40048b readable on white or black?
#40048b 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.