#4C2787 Color

Inspect #4C2787 across formats, palettes, contrast and closest named color matches.

Color preview

#4C2787

Color formats

HEX
#4C2787
RGB
rgb(76, 39, 135)
RGBA
rgba(76, 39, 135, 1)
HSL
hsl(263, 55%, 34%)
HSV
hsv(263, 71%, 53%)
CMYK
cmyk(44%, 71%, 0%, 47%)
CSS variable
--color-primary: #4C2787;
Lowercase HEX
#4c2787

Shades

Tints

Tones

Harmony

CSS snippets for #4C2787

.color-4c2787 {
  color: #4C2787;
  background-color: #4C2787;
}

Frequently asked questions

What color is #4C2787?+

#4C2787 is a HEX color with RGB value rgb(76, 39, 135) and HSL value hsl(263, 55%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #4C2787?+

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