#5B508B Color

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

Color preview

#5B508B

Color formats

HEX
#5B508B
RGB
rgb(91, 80, 139)
RGBA
rgba(91, 80, 139, 1)
HSL
hsl(251, 27%, 43%)
HSV
hsv(251, 42%, 55%)
CMYK
cmyk(35%, 42%, 0%, 45%)
CSS variable
--color-primary: #5B508B;
Lowercase HEX
#5b508b

Shades

Tints

Tones

Harmony

CSS snippets for #5B508B

.color-5b508b {
  color: #5B508B;
  background-color: #5B508B;
}

Frequently asked questions

What color is #5B508B?+

#5B508B is a HEX color with RGB value rgb(91, 80, 139) and HSL value hsl(251, 27%, 43%). Its closest CSS named color is DarkSlateBlue.

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

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