#5A337A Color

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

Color preview

#5A337A

Color formats

HEX
#5A337A
RGB
rgb(90, 51, 122)
RGBA
rgba(90, 51, 122, 1)
HSL
hsl(273, 41%, 34%)
HSV
hsv(273, 58%, 48%)
CMYK
cmyk(26%, 58%, 0%, 52%)
CSS variable
--color-primary: #5A337A;
Lowercase HEX
#5a337a

Shades

Tints

Tones

Harmony

CSS snippets for #5A337A

.color-5a337a {
  color: #5A337A;
  background-color: #5A337A;
}

Frequently asked questions

What color is #5A337A?+

#5A337A is a HEX color with RGB value rgb(90, 51, 122) and HSL value hsl(273, 41%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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