#5906C6 Color

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

Color preview

#5906C6

Color formats

HEX
#5906C6
RGB
rgb(89, 6, 198)
RGBA
rgba(89, 6, 198, 1)
HSL
hsl(266, 94%, 40%)
HSV
hsv(266, 97%, 78%)
CMYK
cmyk(55%, 97%, 0%, 22%)
CSS variable
--color-primary: #5906C6;
Lowercase HEX
#5906c6

Shades

Tints

Tones

Harmony

CSS snippets for #5906C6

.color-5906c6 {
  color: #5906C6;
  background-color: #5906C6;
}

Frequently asked questions

What color is #5906C6?+

#5906C6 is a HEX color with RGB value rgb(89, 6, 198) and HSL value hsl(266, 94%, 40%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #5906C6?+

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