#5F0F8A Color

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

Color preview

#5F0F8A

Color formats

HEX
#5F0F8A
RGB
rgb(95, 15, 138)
RGBA
rgba(95, 15, 138, 1)
HSL
hsl(279, 80%, 30%)
HSV
hsv(279, 89%, 54%)
CMYK
cmyk(31%, 89%, 0%, 46%)
CSS variable
--color-primary: #5F0F8A;
Lowercase HEX
#5f0f8a

Shades

Tints

Tones

Harmony

CSS snippets for #5F0F8A

.color-5f0f8a {
  color: #5F0F8A;
  background-color: #5F0F8A;
}

Frequently asked questions

What color is #5F0F8A?+

#5F0F8A is a HEX color with RGB value rgb(95, 15, 138) and HSL value hsl(279, 80%, 30%). Its closest CSS named color is Indigo.

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

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