#4D317C Color

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

Color preview

#4D317C

Color formats

HEX
#4D317C
RGB
rgb(77, 49, 124)
RGBA
rgba(77, 49, 124, 1)
HSL
hsl(262, 43%, 34%)
HSV
hsv(262, 60%, 49%)
CMYK
cmyk(38%, 60%, 0%, 51%)
CSS variable
--color-primary: #4D317C;
Lowercase HEX
#4d317c

Shades

Tints

Tones

Harmony

CSS snippets for #4D317C

.color-4d317c {
  color: #4D317C;
  background-color: #4D317C;
}

Frequently asked questions

What color is #4D317C?+

#4D317C is a HEX color with RGB value rgb(77, 49, 124) and HSL value hsl(262, 43%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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