#6838C2 Color

Inspect #6838C2 across formats, palettes, contrast and closest named color matches.

Color preview

#6838C2

Color formats

HEX
#6838C2
RGB
rgb(104, 56, 194)
RGBA
rgba(104, 56, 194, 1)
HSL
hsl(261, 55%, 49%)
HSV
hsv(261, 71%, 76%)
CMYK
cmyk(46%, 71%, 0%, 24%)
CSS variable
--color-primary: #6838C2;
Lowercase HEX
#6838c2

Shades

Tints

Tones

Harmony

CSS snippets for #6838C2

.color-6838c2 {
  color: #6838C2;
  background-color: #6838C2;
}

Frequently asked questions

What color is #6838C2?+

#6838C2 is a HEX color with RGB value rgb(104, 56, 194) and HSL value hsl(261, 55%, 49%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #6838C2?+

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