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

#252238 is a nearly black, muted violet with a somber, dusty quality. It serves as a sophisticated alternative to pure black in dark mode interfaces. Because white text provides excellent readability against this shade, it works well for UI backgrounds and long-form body text. Try pairing this hex code with soft metallic accents or desaturated teals to add warmth to its serious, grounded appearance.
Questions about #252238
What is #252238 in RGB, HSL and CMYK?
In RGB, #252238 is rgb(37, 34, 56), in HSL hsl(248, 24%, 18%) and in CMYK 34%, 39%, 0%, 78%.
Is #252238 a better choice than pure black for website interfaces?
Yes, #252238 provides a more natural, sophisticated alternative to pure black that reduces eye strain in dark mode interfaces. Its subtle violet undertone adds depth, making text feel slightly softer and more legible on screens than a harsh, high-contrast flat black.
What colors pair well with the deep violet of #252238?
This muted violet pairs beautifully with desaturated teal to create a grounded, professional contrast, or with soft metallic accents for a luxurious feel. Its somber quality also allows it to act as a versatile neutral base for brighter, more vibrant accent colors.
Is #252238 readable on white or black?
#252238 has a 15.38:1 contrast ratio on white and 1.36: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.