#4B2A9E Color

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

Color preview

#4B2A9E

Color formats

HEX
#4B2A9E
RGB
rgb(75, 42, 158)
RGBA
rgba(75, 42, 158, 1)
HSL
hsl(257, 58%, 39%)
HSV
hsv(257, 73%, 62%)
CMYK
cmyk(53%, 73%, 0%, 38%)
CSS variable
--color-primary: #4B2A9E;
Lowercase HEX
#4b2a9e

Shades

Tints

Tones

Harmony

CSS snippets for #4B2A9E

.color-4b2a9e {
  color: #4B2A9E;
  background-color: #4B2A9E;
}

Frequently asked questions

What color is #4B2A9E?+

#4B2A9E is a HEX color with RGB value rgb(75, 42, 158) and HSL value hsl(257, 58%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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