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

#642e7c is a deep, muted violet with a serious, slightly moody undertone. Its high saturation makes it a bold choice for dark mode UI backgrounds or branding that needs to convey mystery and luxury. Because it offers strong contrast against white text at a 9.4:1 ratio, it remains readable even in smaller font sizes. Use this hex code as a base color when you need structure without the severity of black.
Questions about #642e7c
What is #642e7c in RGB, HSL and CMYK?
In RGB, #642e7c is rgb(100, 46, 124), in HSL hsl(282, 46%, 33%) and in CMYK 19%, 63%, 0%, 51%.
What colors pair well with #642e7c for branding?
To balance the moody intensity of #642e7c, pair it with muted sage or soft cream tones to create a sophisticated, modern palette. Using vibrant, light-colored accents helps prevent the design from feeling too heavy or closed in.
Is #642e7c readable on white or black?
#642e7c has a 9.44:1 contrast ratio on white and 2.22: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.