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

This dusty, inky indigo provides a serious, muted foundation for modern UI design. Because it is highly unsaturated, #333256 works effectively as a dark mode background or a sophisticated alternative to pure black. It offers excellent contrast with white text, making it a reliable choice for professional interfaces where readability is the priority. Pair it with soft cream or muted metallics to maintain a calm, stable aesthetic.
Questions about #333256
What is #333256 in RGB, HSL and CMYK?
In RGB, #333256 is rgb(51, 50, 86), in HSL hsl(242, 26%, 27%) and in CMYK 41%, 42%, 0%, 66%. Browse more shades of purple with names and hex codes.
Where should I use #333256 in a UI design?
#333256 serves as a stable, sophisticated alternative to pure black for dark mode backgrounds or primary navigation bars. It maintains excellent readability with white text while providing a more modern, less jarring feel than absolute black on digital screens.
What colors pair best with #333256?
Is #333256 readable on white or black?
#333256 has a 12.12:1 contrast ratio on white and 1.73: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.