#5A04FB Color

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

Color preview

#5A04FB

Color formats

HEX
#5A04FB
RGB
rgb(90, 4, 251)
RGBA
rgba(90, 4, 251, 1)
HSL
hsl(261, 97%, 50%)
HSV
hsv(261, 98%, 98%)
CMYK
cmyk(64%, 98%, 0%, 2%)
CSS variable
--color-primary: #5A04FB;
Lowercase HEX
#5a04fb

Shades

Tints

Tones

Harmony

CSS snippets for #5A04FB

.color-5a04fb {
  color: #5A04FB;
  background-color: #5A04FB;
}

Frequently asked questions

What color is #5A04FB?+

#5A04FB is a HEX color with RGB value rgb(90, 4, 251) and HSL value hsl(261, 97%, 50%). Its closest CSS named color is BlueViolet.

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

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