#6838EB Color

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

Color preview

#6838EB

Color formats

HEX
#6838EB
RGB
rgb(104, 56, 235)
RGBA
rgba(104, 56, 235, 1)
HSL
hsl(256, 82%, 57%)
HSV
hsv(256, 76%, 92%)
CMYK
cmyk(56%, 76%, 0%, 8%)
CSS variable
--color-primary: #6838EB;
Lowercase HEX
#6838eb

Shades

Tints

Tones

Harmony

CSS snippets for #6838EB

.color-6838eb {
  color: #6838EB;
  background-color: #6838EB;
}

Frequently asked questions

What color is #6838EB?+

#6838EB is a HEX color with RGB value rgb(104, 56, 235) and HSL value hsl(256, 82%, 57%). Its closest CSS named color is BlueViolet.

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

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