#6840ED Color

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

Color preview

#6840ED

Color formats

HEX
#6840ED
RGB
rgb(104, 64, 237)
RGBA
rgba(104, 64, 237, 1)
HSL
hsl(254, 83%, 59%)
HSV
hsv(254, 73%, 93%)
CMYK
cmyk(56%, 73%, 0%, 7%)
CSS variable
--color-primary: #6840ED;
Lowercase HEX
#6840ed

Shades

Tints

Tones

Harmony

CSS snippets for #6840ED

.color-6840ed {
  color: #6840ED;
  background-color: #6840ED;
}

Frequently asked questions

What color is #6840ED?+

#6840ED is a HEX color with RGB value rgb(104, 64, 237) and HSL value hsl(254, 83%, 59%). Its closest CSS named color is SlateBlue.

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

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