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

#2c2837 is a near-black violet that leans heavily into gray, creating a dusty, muted tone. This somber shade provides an excellent foundation for dark mode interfaces because it offers high legibility against white text. Because it is so desaturated, avoid pairing it with other muddy tones. Use this hex code as a stable background to let brighter, saturated accent colors stand out on screen.
Questions about #2c2837
What is #2c2837 in RGB, HSL and CMYK?
In RGB, #2c2837 is rgb(44, 40, 55), in HSL hsl(256, 16%, 19%) and in CMYK 20%, 27%, 0%, 78%.
How should #2c2837 be used in interface design?
#2c2837 functions effectively as a stable background for dark mode UIs because it offers high legibility while remaining softer than pure black. Its desaturated, gray-leaning violet nature prevents the high-contrast fatigue often associated with harsh, absolute black backgrounds.
What color pairings work well with #2c2837?
#2c2837 works best when paired with bright, saturated accent colors to create visual hierarchy. It avoids looking muddy when contrasted against vibrant electric blue or soft peach tones, which cut through its muted, dusty depth without competing for attention.
Is #2c2837 readable on white or black?
#2c2837 has a 14.32:1 contrast ratio on white and 1.46: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.