#2A1A33 Hex Color

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

Hex color #2a1a33 graphic
Deep and heavily desaturated, this dark purple acts as a moody, sophisticated alternative to pure black. Because #2a1a33 offers high contrast with white text, it works well as a grounding UI background. Avoid pairing it with other dark, muddy tones, as it lacks enough luminosity to prevent a cluttered look. The hex code for this dusky shade is #2a1a33.

Questions about #2a1a33

What is #2a1a33 in RGB, HSL and CMYK?
In RGB, #2a1a33 is rgb(42, 26, 51), in HSL hsl(278, 32%, 15%) and in CMYK 18%, 49%, 0%, 80%.
How can I effectively pair #2a1a33 in a web design layout?
#2a1a33 works best when anchored by high-contrast accents like crisp white or pale, muted neutrals rather than other dark tones. This prevents the overall interface from feeling muddy and maintains visual clarity for text-heavy sections or navigation bars.
Does #2a1a33 read as a warm or cool tone?
This shade leans toward a cool, mysterious violet undertone, distinguishing it from standard black or charcoal greys. It carries a subtle, regal quality that feels more intentional and contemporary than a neutral black while remaining dark enough for deep backgrounds.
Is #2a1a33 readable on white or black?
#2a1a33 has a 16.22:1 contrast ratio on white and 1.29: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.