#4D398E Color

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

Color preview

#4D398E

Color formats

HEX
#4D398E
RGB
rgb(77, 57, 142)
RGBA
rgba(77, 57, 142, 1)
HSL
hsl(254, 43%, 39%)
HSV
hsv(254, 60%, 56%)
CMYK
cmyk(46%, 60%, 0%, 44%)
CSS variable
--color-primary: #4D398E;
Lowercase HEX
#4d398e

Shades

Tints

Tones

Harmony

CSS snippets for #4D398E

.color-4d398e {
  color: #4D398E;
  background-color: #4D398E;
}

Frequently asked questions

What color is #4D398E?+

#4D398E is a HEX color with RGB value rgb(77, 57, 142) and HSL value hsl(254, 43%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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