#5A3C8C

Color Details

HEX
#5A3C8C
RGB
rgb(90, 60, 140)
HSL
hsl(263, 40%, 39%)
CMYK
cmyk(36%, 57%, 0%, 45%)
Best text on this color #FFFFFF (CR 8.54:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5A3C8C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #5A3C8C

#5A3C8C converts to RGB(90, 60, 140) and HSL(263, 40%, 39%). 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).

#5A3C8C FAQs

What is the RGB value of #5A3C8C?
RGB: 90, 60, 140. Copy as CSS: rgb(90, 60, 140)
Is #5A3C8C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A3C8C?
Complement: #6d8b3c.
Does #5A3C8C have good contrast on white or black?
On white: 8.54:1 (AAA (normal text)). On black: 2.46:1 (Fails AA).