#5A3D8A Color

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

Color preview

#5A3D8A

Color formats

HEX
#5A3D8A
RGB
rgb(90, 61, 138)
RGBA
rgba(90, 61, 138, 1)
HSL
hsl(263, 39%, 39%)
HSV
hsv(263, 56%, 54%)
CMYK
cmyk(35%, 56%, 0%, 46%)
CSS variable
--color-primary: #5A3D8A;
Lowercase HEX
#5a3d8a

Shades

Tints

Tones

Harmony

CSS snippets for #5A3D8A

.color-5a3d8a {
  color: #5A3D8A;
  background-color: #5A3D8A;
}

Frequently asked questions

What color is #5A3D8A?+

#5A3D8A is a HEX color with RGB value rgb(90, 61, 138) and HSL value hsl(263, 39%, 39%). Its closest CSS named color is DarkSlateBlue.

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

The closest Tailwind color is purple-900, available as the bg-purple-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