#2A232A Hex Color

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

Hex color #2a232a graphic
This dusky, near-black purple feels grounded and somber. Because it sits so close to neutral gray, #2a232a serves as a sophisticated alternative to pure black for interface backgrounds. Pair it with soft, muted teals or creams to prevent the palette from feeling too harsh. With a 15.3:1 contrast ratio against white text, this hex code ensures excellent readability for body copy in dark mode designs.

Questions about #2a232a

What is #2a232a in RGB, HSL and CMYK?
In RGB, #2a232a is rgb(42, 35, 42), in HSL hsl(300, 9%, 15%) and in CMYK 0%, 17%, 0%, 84%. Browse more shades of black with names and hex codes.
How does #2a232a function as a replacement for pure black in dark mode?
#2a232a provides a softer, more sophisticated look by reducing eye strain compared to high-contrast pure black. It keeps interface elements feeling grounded while maintaining excellent readability for white body text in modern dark mode layouts.
What colors pair well with #2a232a for UI design?
Soft and muted tones like cream or sage work exceptionally well against #2a232a to prevent the overall palette from feeling harsh. These lighter, desaturated hues create a gentle contrast that feels intentional, balanced, and modern for web interfaces.
Is #2a232a readable on white or black?
#2a232a has a 15.30:1 contrast ratio on white and 1.37: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.