#4D28E1 Color

Inspect #4D28E1 across formats, palettes, contrast and closest named color matches.

Color preview

#4D28E1

Color formats

HEX
#4D28E1
RGB
rgb(77, 40, 225)
RGBA
rgba(77, 40, 225, 1)
HSL
hsl(252, 76%, 52%)
HSV
hsv(252, 82%, 88%)
CMYK
cmyk(66%, 82%, 0%, 12%)
CSS variable
--color-primary: #4D28E1;
Lowercase HEX
#4d28e1

Shades

Tints

Tones

Harmony

CSS snippets for #4D28E1

.color-4d28e1 {
  color: #4D28E1;
  background-color: #4D28E1;
}

Frequently asked questions

What color is #4D28E1?+

#4D28E1 is a HEX color with RGB value rgb(77, 40, 225) and HSL value hsl(252, 76%, 52%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #4D28E1?+

The closest Tailwind color is indigo-700, available as the bg-indigo-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