#4D315E Color

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

Color preview

#4D315E

Color formats

HEX
#4D315E
RGB
rgb(77, 49, 94)
RGBA
rgba(77, 49, 94, 1)
HSL
hsl(277, 31%, 28%)
HSV
hsv(277, 48%, 37%)
CMYK
cmyk(18%, 48%, 0%, 63%)
CSS variable
--color-primary: #4D315E;
Lowercase HEX
#4d315e

Shades

Tints

Tones

Harmony

CSS snippets for #4D315E

.color-4d315e {
  color: #4D315E;
  background-color: #4D315E;
}

Frequently asked questions

What color is #4D315E?+

#4D315E is a HEX color with RGB value rgb(77, 49, 94) and HSL value hsl(277, 31%, 28%). Its closest CSS named color is DarkSlateGray.

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

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