#4C0CED Color

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

Color preview

#4C0CED

Color formats

HEX
#4C0CED
RGB
rgb(76, 12, 237)
RGBA
rgba(76, 12, 237, 1)
HSL
hsl(257, 90%, 49%)
HSV
hsv(257, 95%, 93%)
CMYK
cmyk(68%, 95%, 0%, 7%)
CSS variable
--color-primary: #4C0CED;
Lowercase HEX
#4c0ced

Shades

Tints

Tones

Harmony

CSS snippets for #4C0CED

.color-4c0ced {
  color: #4C0CED;
  background-color: #4C0CED;
}

Frequently asked questions

What color is #4C0CED?+

#4C0CED is a HEX color with RGB value rgb(76, 12, 237) and HSL value hsl(257, 90%, 49%). Its closest CSS named color is BlueViolet.

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

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