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

This moody, unsaturated violet sits on the darker end of the spectrum, offering a serious and quiet presence. Because it is so deep, #25174c performs best as a dark UI background or a supporting tone in moody compositions. It provides high contrast for white text, though it can overwhelm smaller graphics if used in excess. This hex code works well paired with soft, desaturated metallics for a sophisticated look.
Questions about #25174c
What is #25174c in RGB, HSL and CMYK?
In RGB, #25174c is rgb(37, 23, 76), in HSL hsl(256, 54%, 19%) and in CMYK 51%, 70%, 0%, 70%.
How does #25174c function as a background color for web design?
#25174c provides a sophisticated, high-contrast foundation for interfaces when paired with white or very light text. Because the shade is so deep, it effectively minimizes eye strain during prolonged use, making it an excellent choice for dark mode UI applications.
What colors pair well with #25174c for a balanced palette?
This deep violet works best alongside desaturated metallics like silver or pewter, which maintain the color's serious tone without introducing unwanted chaos. Avoid overly vibrant neons, as they can clash with the muted nature of the violet, instead opting for soft, creamy neutrals.
Is #25174c readable on white or black?
#25174c has a 16.08:1 contrast ratio on white and 1.30: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.