#2A1A40 Hex Color

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

Hex color #2a1a40 graphic
#2a1a40 is a dark, muted violet with cool blue undertones and a matte, dusty finish. Its low lightness gives layouts a serious, mysterious mood without vivid intensity. Use the hex code as a supporting tone in moody branding, luxury packaging, or dark interfaces, paired with pale lavender or warm cream for separation. White text reaches about 15.9:1 contrast, enough for WCAG AA body text.

Questions about #2a1a40

What is #2a1a40 in RGB, HSL and CMYK?
In RGB, #2a1a40 is rgb(42, 26, 64), in HSL hsl(265, 42%, 18%) and in CMYK 34%, 59%, 0%, 75%. Browse more shades of purple with names and hex codes.
What colors pair well with #2a1a40?
#2a1a40 pairs well with warm cream, pale lavender, muted rose, and subdued gold accents. Cream creates clear separation, while dusty pink or antique gold softens its cool, shadowed base without removing its serious character.
Is #2a1a40 readable on white or black?
#2a1a40 has a 15.90:1 contrast ratio on white and 1.32: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.