#640DC8 Color

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

Color preview

#640DC8

Color formats

HEX
#640DC8
RGB
rgb(100, 13, 200)
RGBA
rgba(100, 13, 200, 1)
HSL
hsl(268, 88%, 42%)
HSV
hsv(268, 94%, 78%)
CMYK
cmyk(50%, 94%, 0%, 22%)
CSS variable
--color-primary: #640DC8;
Lowercase HEX
#640dc8

Shades

Tints

Tones

Harmony

CSS snippets for #640DC8

.color-640dc8 {
  color: #640DC8;
  background-color: #640DC8;
}

Frequently asked questions

What color is #640DC8?+

#640DC8 is a HEX color with RGB value rgb(100, 13, 200) and HSL value hsl(268, 88%, 42%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #640DC8?+

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