#4D1EA1 Hex Color

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

Hex color #4d1ea1 graphic
Dark and saturated, #4d1ea1 is a cool violet-purple with strong blue undertones. Its low lightness gives layouts a serious, mysterious mood, while its clear chroma prevents it from feeling dull. Use the hex code as a dominant dark-mode background or brand base, paired with white text, which achieves about a 10.4:1 contrast ratio.

Questions about #4d1ea1

What is #4d1ea1 in RGB, HSL and CMYK?
In RGB, #4d1ea1 is rgb(77, 30, 161), in HSL hsl(262, 69%, 37%) and in CMYK 52%, 81%, 0%, 37%.
What colors pair well with #4d1ea1?
White and soft lavender pair well with #4d1ea1, creating clear contrast while keeping the palette cool and cohesive. For a warmer counterpoint, add a restrained gold or muted yellow accent rather than another saturated dark color.
Is #4d1ea1 a warm or cool color?
#4d1ea1 reads as a cool color because its violet base leans strongly toward blue. Its dark value and saturated appearance add a serious, mysterious feel, making it effective for focused interfaces, premium accents, and dramatic visual emphasis.
Is #4d1ea1 readable on white or black?
#4d1ea1 has a 10.41:1 contrast ratio on white and 2.01: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.