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

#5a23ba is a dark, saturated purple with a cool violet cast and enough depth to feel serious rather than playful. Its strong chroma suits moody backgrounds, gaming interfaces, luxury accents, and spiritual branding. Use it as a dominant base with white type or as a focused accent beside charcoal and muted gold. The hex code is #5a23ba.
Questions about #5a23ba
What is #5a23ba in RGB, HSL and CMYK?
In RGB, #5a23ba is rgb(90, 35, 186), in HSL hsl(262, 68%, 43%) and in CMYK 52%, 81%, 0%, 27%.
What colors pair well with #5a23ba?
Does #5a23ba work well with white text?
Against white, #5a23ba provides about an 8.8:1 contrast ratio, so white text meets WCAG AA for body text and remains clear in buttons, headings, and compact interface labels on this dark background.
Is #5a23ba readable on white or black?
#5a23ba has a 8.80:1 contrast ratio on white and 2.38: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.