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

Rich and cool, #5d42b3 is a saturated violet purple with a blue undertone and medium-dark lightness. Its strong chroma brings energy and focus, while the darker value adds mystery and structure. The hex code #5d42b3 works well for calls to action, gaming accents, and moody interfaces, with white text providing strong readable contrast.
Questions about #5d42b3
What is #5d42b3 in RGB, HSL and CMYK?
In RGB, #5d42b3 is rgb(93, 66, 179), in HSL hsl(254, 46%, 48%) and in CMYK 48%, 63%, 0%, 30%. Browse more shades of purple with names and hex codes.
What pairs well with #5d42b3 in a palette?
Muted gold or warm ochre gives #5d42b3 a clear complementary lift, while charcoal can temper its intensity. Use the purple as a focused accent or supporting color, then reserve the warmer tone for highlights, icons, or selected states.
Is #5d42b3 better as a background or accent?
#5d42b3 can support a full background when the layout needs a dark, expressive field, but it often works best as an accent or supporting panel. Its high saturation can dominate large areas, so balance it with pale neutrals and ample open space.
Is #5d42b3 readable on white or black?
#5d42b3 has a 7.25:1 contrast ratio on white and 2.89: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.