#5901CB Color

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

Color preview

#5901CB

Color formats

HEX
#5901CB
RGB
rgb(89, 1, 203)
RGBA
rgba(89, 1, 203, 1)
HSL
hsl(266, 99%, 40%)
HSV
hsv(266, 100%, 80%)
CMYK
cmyk(56%, 100%, 0%, 20%)
CSS variable
--color-primary: #5901CB;
Lowercase HEX
#5901cb

Shades

Tints

Tones

Harmony

CSS snippets for #5901CB

.color-5901cb {
  color: #5901CB;
  background-color: #5901CB;
}

Frequently asked questions

What color is #5901CB?+

#5901CB is a HEX color with RGB value rgb(89, 1, 203) and HSL value hsl(266, 99%, 40%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #5901CB?+

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