#5A28CC
Color Details
HEX
#5A28CC
RGB
rgb(90, 40, 204)
HSL
hsl(258, 67%, 48%)
CMYK
cmyk(56%, 80%, 0%, 20%)
Best text on this color
#FFFFFF (CR 8.05:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5A28CC
#5A28CC converts to RGB(90, 40, 204) and HSL(258, 67%, 48%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#5A28CC FAQs
What is the RGB value of #5A28CC?
RGB: 90, 40, 204. Copy as CSS:
rgb(90, 40, 204)
Is #5A28CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A28CC?
Complement: #9bcc28.
Does #5A28CC have good contrast on white or black?
On white: 8.05:1 (AAA (normal text)).
On black: 2.61:1 (Fails AA).