#5F1BAD Color

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

Color preview

#5F1BAD

Color formats

HEX
#5F1BAD
RGB
rgb(95, 27, 173)
RGBA
rgba(95, 27, 173, 1)
HSL
hsl(268, 73%, 39%)
HSV
hsv(268, 84%, 68%)
CMYK
cmyk(45%, 84%, 0%, 32%)
CSS variable
--color-primary: #5F1BAD;
Lowercase HEX
#5f1bad

Shades

Tints

Tones

Harmony

CSS snippets for #5F1BAD

.color-5f1bad {
  color: #5F1BAD;
  background-color: #5F1BAD;
}

Frequently asked questions

What color is #5F1BAD?+

#5F1BAD is a HEX color with RGB value rgb(95, 27, 173) and HSL value hsl(268, 73%, 39%). Its closest CSS named color is RebeccaPurple.

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

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