#6642D2 Color

Inspect #6642D2 across formats, palettes, contrast and closest named color matches.

Color preview

#6642D2

Color formats

HEX
#6642D2
RGB
rgb(102, 66, 210)
RGBA
rgba(102, 66, 210, 1)
HSL
hsl(255, 62%, 54%)
HSV
hsv(255, 69%, 82%)
CMYK
cmyk(51%, 69%, 0%, 18%)
CSS variable
--color-primary: #6642D2;
Lowercase HEX
#6642d2

Shades

Tints

Tones

Harmony

CSS snippets for #6642D2

.color-6642d2 {
  color: #6642D2;
  background-color: #6642D2;
}

Frequently asked questions

What color is #6642D2?+

#6642D2 is a HEX color with RGB value rgb(102, 66, 210) and HSL value hsl(255, 62%, 54%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #6642D2?+

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