#662FE4 Color

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

Color preview

#662FE4

Color formats

HEX
#662FE4
RGB
rgb(102, 47, 228)
RGBA
rgba(102, 47, 228, 1)
HSL
hsl(258, 77%, 54%)
HSV
hsv(258, 79%, 89%)
CMYK
cmyk(55%, 79%, 0%, 11%)
CSS variable
--color-primary: #662FE4;
Lowercase HEX
#662fe4

Shades

Tints

Tones

Harmony

CSS snippets for #662FE4

.color-662fe4 {
  color: #662FE4;
  background-color: #662FE4;
}

Frequently asked questions

What color is #662FE4?+

#662FE4 is a HEX color with RGB value rgb(102, 47, 228) and HSL value hsl(258, 77%, 54%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #662FE4?+

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