#4D308D Color

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

Color preview

#4D308D

Color formats

HEX
#4D308D
RGB
rgb(77, 48, 141)
RGBA
rgba(77, 48, 141, 1)
HSL
hsl(259, 49%, 37%)
HSV
hsv(259, 66%, 55%)
CMYK
cmyk(45%, 66%, 0%, 45%)
CSS variable
--color-primary: #4D308D;
Lowercase HEX
#4d308d

Shades

Tints

Tones

Harmony

CSS snippets for #4D308D

.color-4d308d {
  color: #4D308D;
  background-color: #4D308D;
}

Frequently asked questions

What color is #4D308D?+

#4D308D is a HEX color with RGB value rgb(77, 48, 141) and HSL value hsl(259, 49%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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