#C40DF2 Color

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

Color preview

#C40DF2

Color formats

HEX
#C40DF2
RGB
rgb(196, 13, 242)
RGBA
rgba(196, 13, 242, 1)
HSL
hsl(288, 90%, 50%)
HSV
hsv(288, 95%, 95%)
CMYK
cmyk(19%, 95%, 0%, 5%)
CSS variable
--color-primary: #C40DF2;
Lowercase HEX
#c40df2

Shades

Tints

Tones

Harmony

CSS snippets for #C40DF2

.color-c40df2 {
  color: #C40DF2;
  background-color: #C40DF2;
}

Frequently asked questions

What color is #C40DF2?+

#C40DF2 is a HEX color with RGB value rgb(196, 13, 242) and HSL value hsl(288, 90%, 50%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #C40DF2?+

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