#5F28EB Color

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

Color preview

#5F28EB

Color formats

HEX
#5F28EB
RGB
rgb(95, 40, 235)
RGBA
rgba(95, 40, 235, 1)
HSL
hsl(257, 83%, 54%)
HSV
hsv(257, 83%, 92%)
CMYK
cmyk(60%, 83%, 0%, 8%)
CSS variable
--color-primary: #5F28EB;
Lowercase HEX
#5f28eb

Shades

Tints

Tones

Harmony

CSS snippets for #5F28EB

.color-5f28eb {
  color: #5F28EB;
  background-color: #5F28EB;
}

Frequently asked questions

What color is #5F28EB?+

#5F28EB is a HEX color with RGB value rgb(95, 40, 235) and HSL value hsl(257, 83%, 54%). Its closest CSS named color is BlueViolet.

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

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