#662BD4 Color

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

Color preview

#662BD4

Color formats

HEX
#662BD4
RGB
rgb(102, 43, 212)
RGBA
rgba(102, 43, 212, 1)
HSL
hsl(261, 66%, 50%)
HSV
hsv(261, 80%, 83%)
CMYK
cmyk(52%, 80%, 0%, 17%)
CSS variable
--color-primary: #662BD4;
Lowercase HEX
#662bd4

Shades

Tints

Tones

Harmony

CSS snippets for #662BD4

.color-662bd4 {
  color: #662BD4;
  background-color: #662BD4;
}

Frequently asked questions

What color is #662BD4?+

#662BD4 is a HEX color with RGB value rgb(102, 43, 212) and HSL value hsl(261, 66%, 50%). Its closest CSS named color is BlueViolet.

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

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