#6840D4 Color

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

Color preview

#6840D4

Color formats

HEX
#6840D4
RGB
rgb(104, 64, 212)
RGBA
rgba(104, 64, 212, 1)
HSL
hsl(256, 63%, 54%)
HSV
hsv(256, 70%, 83%)
CMYK
cmyk(51%, 70%, 0%, 17%)
CSS variable
--color-primary: #6840D4;
Lowercase HEX
#6840d4

Shades

Tints

Tones

Harmony

CSS snippets for #6840D4

.color-6840d4 {
  color: #6840D4;
  background-color: #6840D4;
}

Frequently asked questions

What color is #6840D4?+

#6840D4 is a HEX color with RGB value rgb(104, 64, 212) and HSL value hsl(256, 63%, 54%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #6840D4?+

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