#642DFB Color

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

Color preview

#642DFB

Color formats

HEX
#642DFB
RGB
rgb(100, 45, 251)
RGBA
rgba(100, 45, 251, 1)
HSL
hsl(256, 96%, 58%)
HSV
hsv(256, 82%, 98%)
CMYK
cmyk(60%, 82%, 0%, 2%)
CSS variable
--color-primary: #642DFB;
Lowercase HEX
#642dfb

Shades

Tints

Tones

Harmony

CSS snippets for #642DFB

.color-642dfb {
  color: #642DFB;
  background-color: #642DFB;
}

Frequently asked questions

What color is #642DFB?+

#642DFB is a HEX color with RGB value rgb(100, 45, 251) and HSL value hsl(256, 96%, 58%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #642DFB?+

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