#4E3B8A Color

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

Color preview

#4E3B8A

Color formats

HEX
#4E3B8A
RGB
rgb(78, 59, 138)
RGBA
rgba(78, 59, 138, 1)
HSL
hsl(254, 40%, 39%)
HSV
hsv(254, 57%, 54%)
CMYK
cmyk(43%, 57%, 0%, 46%)
CSS variable
--color-primary: #4E3B8A;
Lowercase HEX
#4e3b8a

Shades

Tints

Tones

Harmony

CSS snippets for #4E3B8A

.color-4e3b8a {
  color: #4E3B8A;
  background-color: #4E3B8A;
}

Frequently asked questions

What color is #4E3B8A?+

#4E3B8A is a HEX color with RGB value rgb(78, 59, 138) and HSL value hsl(254, 40%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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