#B40DBA Color

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

Color preview

#B40DBA

Color formats

HEX
#B40DBA
RGB
rgb(180, 13, 186)
RGBA
rgba(180, 13, 186, 1)
HSL
hsl(298, 87%, 39%)
HSV
hsv(298, 93%, 73%)
CMYK
cmyk(3%, 93%, 0%, 27%)
CSS variable
--color-primary: #B40DBA;
Lowercase HEX
#b40dba

Shades

Tints

Tones

Harmony

CSS snippets for #B40DBA

.color-b40dba {
  color: #B40DBA;
  background-color: #B40DBA;
}

Frequently asked questions

What color is #B40DBA?+

#B40DBA is a HEX color with RGB value rgb(180, 13, 186) and HSL value hsl(298, 87%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #B40DBA?+

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