#5F2871 Color

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

Color preview

#5F2871

Color formats

HEX
#5F2871
RGB
rgb(95, 40, 113)
RGBA
rgba(95, 40, 113, 1)
HSL
hsl(285, 48%, 30%)
HSV
hsv(285, 65%, 44%)
CMYK
cmyk(16%, 65%, 0%, 56%)
CSS variable
--color-primary: #5F2871;
Lowercase HEX
#5f2871

Shades

Tints

Tones

Harmony

CSS snippets for #5F2871

.color-5f2871 {
  color: #5F2871;
  background-color: #5F2871;
}

Frequently asked questions

What color is #5F2871?+

#5F2871 is a HEX color with RGB value rgb(95, 40, 113) and HSL value hsl(285, 48%, 30%). Its closest CSS named color is DarkSlateBlue.

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

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