#662FCB Color

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

Color preview

#662FCB

Color formats

HEX
#662FCB
RGB
rgb(102, 47, 203)
RGBA
rgba(102, 47, 203, 1)
HSL
hsl(261, 62%, 49%)
HSV
hsv(261, 77%, 80%)
CMYK
cmyk(50%, 77%, 0%, 20%)
CSS variable
--color-primary: #662FCB;
Lowercase HEX
#662fcb

Shades

Tints

Tones

Harmony

CSS snippets for #662FCB

.color-662fcb {
  color: #662FCB;
  background-color: #662FCB;
}

Frequently asked questions

What color is #662FCB?+

#662FCB is a HEX color with RGB value rgb(102, 47, 203) and HSL value hsl(261, 62%, 49%). Its closest CSS named color is BlueViolet.

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

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