#662A9E Color

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

Color preview

#662A9E

Color formats

HEX
#662A9E
RGB
rgb(102, 42, 158)
RGBA
rgba(102, 42, 158, 1)
HSL
hsl(271, 58%, 39%)
HSV
hsv(271, 73%, 62%)
CMYK
cmyk(35%, 73%, 0%, 38%)
CSS variable
--color-primary: #662A9E;
Lowercase HEX
#662a9e

Shades

Tints

Tones

Harmony

CSS snippets for #662A9E

.color-662a9e {
  color: #662A9E;
  background-color: #662A9E;
}

Frequently asked questions

What color is #662A9E?+

#662A9E is a HEX color with RGB value rgb(102, 42, 158) and HSL value hsl(271, 58%, 39%). Its closest CSS named color is RebeccaPurple.

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

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