#4A2F7E Color

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

Color preview

#4A2F7E

Color formats

HEX
#4A2F7E
RGB
rgb(74, 47, 126)
RGBA
rgba(74, 47, 126, 1)
HSL
hsl(261, 46%, 34%)
HSV
hsv(261, 63%, 49%)
CMYK
cmyk(41%, 63%, 0%, 51%)
CSS variable
--color-primary: #4A2F7E;
Lowercase HEX
#4a2f7e

Shades

Tints

Tones

Harmony

CSS snippets for #4A2F7E

.color-4a2f7e {
  color: #4A2F7E;
  background-color: #4A2F7E;
}

Frequently asked questions

What color is #4A2F7E?+

#4A2F7E is a HEX color with RGB value rgb(74, 47, 126) and HSL value hsl(261, 46%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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