#662AC6 Color

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

Color preview

#662AC6

Color formats

HEX
#662AC6
RGB
rgb(102, 42, 198)
RGBA
rgba(102, 42, 198, 1)
HSL
hsl(263, 65%, 47%)
HSV
hsv(263, 79%, 78%)
CMYK
cmyk(48%, 79%, 0%, 22%)
CSS variable
--color-primary: #662AC6;
Lowercase HEX
#662ac6

Shades

Tints

Tones

Harmony

CSS snippets for #662AC6

.color-662ac6 {
  color: #662AC6;
  background-color: #662AC6;
}

Frequently asked questions

What color is #662AC6?+

#662AC6 is a HEX color with RGB value rgb(102, 42, 198) and HSL value hsl(263, 65%, 47%). Its closest CSS named color is BlueViolet.

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

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