#660CBA Color

Inspect #660CBA across formats, palettes, contrast and closest named color matches.

Color preview

#660CBA

Color formats

HEX
#660CBA
RGB
rgb(102, 12, 186)
RGBA
rgba(102, 12, 186, 1)
HSL
hsl(271, 88%, 39%)
HSV
hsv(271, 94%, 73%)
CMYK
cmyk(45%, 94%, 0%, 27%)
CSS variable
--color-primary: #660CBA;
Lowercase HEX
#660cba

Shades

Tints

Tones

Harmony

CSS snippets for #660CBA

.color-660cba {
  color: #660CBA;
  background-color: #660CBA;
}

Frequently asked questions

What color is #660CBA?+

#660CBA is a HEX color with RGB value rgb(102, 12, 186) and HSL value hsl(271, 88%, 39%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #660CBA?+

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