#6842D3 Color

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

Color preview

#6842D3

Color formats

HEX
#6842D3
RGB
rgb(104, 66, 211)
RGBA
rgba(104, 66, 211, 1)
HSL
hsl(256, 62%, 54%)
HSV
hsv(256, 69%, 83%)
CMYK
cmyk(51%, 69%, 0%, 17%)
CSS variable
--color-primary: #6842D3;
Lowercase HEX
#6842d3

Shades

Tints

Tones

Harmony

CSS snippets for #6842D3

.color-6842d3 {
  color: #6842D3;
  background-color: #6842D3;
}

Frequently asked questions

What color is #6842D3?+

#6842D3 is a HEX color with RGB value rgb(104, 66, 211) and HSL value hsl(256, 62%, 54%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #6842D3?+

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