#8B0152 Color

Inspect #8B0152 across formats, palettes, contrast and closest named color matches.

Color preview

#8B0152

Color formats

HEX
#8B0152
RGB
rgb(139, 1, 82)
RGBA
rgba(139, 1, 82, 1)
HSL
hsl(325, 99%, 27%)
HSV
hsv(325, 99%, 55%)
CMYK
cmyk(0%, 99%, 41%, 45%)
CSS variable
--color-primary: #8B0152;
Lowercase HEX
#8b0152

Shades

Tints

Tones

Harmony

CSS snippets for #8B0152

.color-8b0152 {
  color: #8B0152;
  background-color: #8B0152;
}

Frequently asked questions

What color is #8B0152?+

#8B0152 is a HEX color with RGB value rgb(139, 1, 82) and HSL value hsl(325, 99%, 27%). Its closest CSS named color is Purple.

What is the closest Tailwind color to #8B0152?+

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