#504E8A Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark indigo with a cool, dusty cast, #504e8a feels serious, muted, and slightly mysterious. Its low saturation gives backgrounds and supporting elements a matte, understated finish, while its depth suits meditation, spirituality, night-sky themes, and luxury branding. Use it as a dominant dark base with white text; the hex code #504e8a provides about 7.5:1 contrast.
Questions about #504e8a
What is #504e8a in RGB, HSL and CMYK?
In RGB, #504e8a is rgb(80, 78, 138), in HSL hsl(242, 28%, 42%) and in CMYK 42%, 43%, 0%, 46%. Browse more shades of purple with names and hex codes.
What colors pair well with #504e8a in a design palette?
Is #504e8a suitable for text and backgrounds?
#504e8a works well as a dark background because white text reaches about a 7.5:1 contrast ratio, exceeding the 4.5:1 WCAG AA threshold for normal body text on most displays. Test links and interactive states separately.
Is #504e8a readable on white or black?
#504e8a has a 7.50:1 contrast ratio on white and 2.79: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.