#B311B5 Color

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

Color preview

#B311B5

Color formats

HEX
#B311B5
RGB
rgb(179, 17, 181)
RGBA
rgba(179, 17, 181, 1)
HSL
hsl(299, 83%, 39%)
HSV
hsv(299, 91%, 71%)
CMYK
cmyk(1%, 91%, 0%, 29%)
CSS variable
--color-primary: #B311B5;
Lowercase HEX
#b311b5

Shades

Tints

Tones

Harmony

CSS snippets for #B311B5

.color-b311b5 {
  color: #B311B5;
  background-color: #B311B5;
}

Frequently asked questions

What color is #B311B5?+

#B311B5 is a HEX color with RGB value rgb(179, 17, 181) and HSL value hsl(299, 83%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #B311B5?+

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