#2E1D79 Hex Color

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

Hex color #2e1d79 graphic
This deep indigo carries a moody, night-sky intensity that feels more authoritative than black. As a background color, #2e1d79 provides excellent contrast for white text, making it a functional choice for dark mode UI. Because it lacks brightness, pair it with soft, warm metallics to avoid a cold, sterile appearance. The hex code for this serious tone is #2e1d79.

Questions about #2e1d79

What is #2e1d79 in RGB, HSL and CMYK?
In RGB, #2e1d79 is rgb(46, 29, 121), in HSL hsl(251, 61%, 29%) and in CMYK 62%, 76%, 0%, 53%.
Does #2e1d79 work well as a primary interface background?
#2e1d79 functions exceptionally well as a primary background because it provides a softer, more humanistic alternative to pure black. It offers excellent readability for white text and creates a professional, moody atmosphere that remains legible on screen.
What colors pair best with #2e1d79 to avoid it feeling cold?
To prevent this deep indigo from feeling sterile, pair it with warm, reflective metallics like gold or copper. These accents introduce necessary warmth and depth, preventing the overall design from appearing too flat or harsh in high-contrast environments.
Is #2e1d79 readable on white or black?
#2e1d79 has a 13.39:1 contrast ratio on white and 1.56: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.