#5A3A9A Color

Inspect #5A3A9A across formats, palettes, contrast and closest named color matches.

Color preview

#5A3A9A

Color formats

HEX
#5A3A9A
RGB
rgb(90, 58, 154)
RGBA
rgba(90, 58, 154, 1)
HSL
hsl(260, 45%, 42%)
HSV
hsv(260, 62%, 60%)
CMYK
cmyk(42%, 62%, 0%, 40%)
CSS variable
--color-primary: #5A3A9A;
Lowercase HEX
#5a3a9a

Shades

Tints

Tones

Harmony

CSS snippets for #5A3A9A

.color-5a3a9a {
  color: #5A3A9A;
  background-color: #5A3A9A;
}

Frequently asked questions

What color is #5A3A9A?+

#5A3A9A is a HEX color with RGB value rgb(90, 58, 154) and HSL value hsl(260, 45%, 42%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #5A3A9A?+

The closest Tailwind color is violet-900, available as the bg-violet-900 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools