#5F3A8D Color

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

Color preview

#5F3A8D

Color formats

HEX
#5F3A8D
RGB
rgb(95, 58, 141)
RGBA
rgba(95, 58, 141, 1)
HSL
hsl(267, 42%, 39%)
HSV
hsv(267, 59%, 55%)
CMYK
cmyk(33%, 59%, 0%, 45%)
CSS variable
--color-primary: #5F3A8D;
Lowercase HEX
#5f3a8d

Shades

Tints

Tones

Harmony

CSS snippets for #5F3A8D

.color-5f3a8d {
  color: #5F3A8D;
  background-color: #5F3A8D;
}

Frequently asked questions

What color is #5F3A8D?+

#5F3A8D is a HEX color with RGB value rgb(95, 58, 141) and HSL value hsl(267, 42%, 39%). Its closest CSS named color is RebeccaPurple.

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

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