#6D28EC Color

Inspect #6D28EC across formats, palettes, contrast and closest named color matches.

Color preview

#6D28EC

Color formats

HEX
#6D28EC
RGB
rgb(109, 40, 236)
RGBA
rgba(109, 40, 236, 1)
HSL
hsl(261, 84%, 54%)
HSV
hsv(261, 83%, 93%)
CMYK
cmyk(54%, 83%, 0%, 7%)
CSS variable
--color-primary: #6D28EC;
Lowercase HEX
#6d28ec

Shades

Tints

Tones

Harmony

CSS snippets for #6D28EC

.color-6d28ec {
  color: #6D28EC;
  background-color: #6D28EC;
}

Frequently asked questions

What color is #6D28EC?+

#6D28EC is a HEX color with RGB value rgb(109, 40, 236) and HSL value hsl(261, 84%, 54%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #6D28EC?+

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