#6838D1 Color

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

Color preview

#6838D1

Color formats

HEX
#6838D1
RGB
rgb(104, 56, 209)
RGBA
rgba(104, 56, 209, 1)
HSL
hsl(259, 62%, 52%)
HSV
hsv(259, 73%, 82%)
CMYK
cmyk(50%, 73%, 0%, 18%)
CSS variable
--color-primary: #6838D1;
Lowercase HEX
#6838d1

Shades

Tints

Tones

Harmony

CSS snippets for #6838D1

.color-6838d1 {
  color: #6838D1;
  background-color: #6838D1;
}

Frequently asked questions

What color is #6838D1?+

#6838D1 is a HEX color with RGB value rgb(104, 56, 209) and HSL value hsl(259, 62%, 52%). Its closest CSS named color is SlateBlue.

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

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