#4A285C Color

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

Color preview

#4A285C

Color formats

HEX
#4A285C
RGB
rgb(74, 40, 92)
RGBA
rgba(74, 40, 92, 1)
HSL
hsl(279, 39%, 26%)
HSV
hsv(279, 57%, 36%)
CMYK
cmyk(20%, 57%, 0%, 64%)
CSS variable
--color-primary: #4A285C;
Lowercase HEX
#4a285c

Shades

Tints

Tones

Harmony

CSS snippets for #4A285C

.color-4a285c {
  color: #4A285C;
  background-color: #4A285C;
}

Frequently asked questions

What color is #4A285C?+

#4A285C is a HEX color with RGB value rgb(74, 40, 92) and HSL value hsl(279, 39%, 26%). Its closest CSS named color is DarkSlateGray.

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

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