#5B3C8B Color

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

Color preview

#5B3C8B

Color formats

HEX
#5B3C8B
RGB
rgb(91, 60, 139)
RGBA
rgba(91, 60, 139, 1)
HSL
hsl(264, 40%, 39%)
HSV
hsv(264, 57%, 55%)
CMYK
cmyk(35%, 57%, 0%, 45%)
CSS variable
--color-primary: #5B3C8B;
Lowercase HEX
#5b3c8b

Shades

Tints

Tones

Harmony

CSS snippets for #5B3C8B

.color-5b3c8b {
  color: #5B3C8B;
  background-color: #5B3C8B;
}

Frequently asked questions

What color is #5B3C8B?+

#5B3C8B is a HEX color with RGB value rgb(91, 60, 139) and HSL value hsl(264, 40%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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