#2E283E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#2e283e is a dusty, inky violet with low saturation. It feels serious and calm, making it a reliable choice for dark mode UI backgrounds. White text stands out clearly against this shade, maintaining excellent readability. Because it is so dark, this hex code functions best as a base color rather than a small accent. It provides a grounded alternative to pure black in moody palettes.
Questions about #2e283e
What is #2e283e in RGB, HSL and CMYK?
In RGB, #2e283e is rgb(46, 40, 62), in HSL hsl(256, 22%, 20%) and in CMYK 26%, 35%, 0%, 76%. Browse more shades of purple with names and hex codes.
Is #2e283e suitable for body text on websites?
While #2e283e is excellent for backgrounds, it is generally too dark for body text on a standard black background. It pairs best with off-white or light gray text to ensure the high contrast needed for comfortable, accessible reading.
How does #2e283e compare to standard black?
#2e283e offers a much softer, more sophisticated alternative to pure black. By introducing subtle violet undertones, it feels less harsh on the eyes and creates a more premium, moody aesthetic for modern interface design.
Is #2e283e readable on white or black?
#2e283e has a 14.10:1 contrast ratio on white and 1.48: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.