#5F337B Color

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

Color preview

#5F337B

Color formats

HEX
#5F337B
RGB
rgb(95, 51, 123)
RGBA
rgba(95, 51, 123, 1)
HSL
hsl(277, 41%, 34%)
HSV
hsv(277, 59%, 48%)
CMYK
cmyk(23%, 59%, 0%, 52%)
CSS variable
--color-primary: #5F337B;
Lowercase HEX
#5f337b

Shades

Tints

Tones

Harmony

CSS snippets for #5F337B

.color-5f337b {
  color: #5F337B;
  background-color: #5F337B;
}

Frequently asked questions

What color is #5F337B?+

#5F337B is a HEX color with RGB value rgb(95, 51, 123) and HSL value hsl(277, 41%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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