#4B0842 Color

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

Color preview

#4B0842

Color formats

HEX
#4B0842
RGB
rgb(75, 8, 66)
RGBA
rgba(75, 8, 66, 1)
HSL
hsl(308, 81%, 16%)
HSV
hsv(308, 89%, 29%)
CMYK
cmyk(0%, 89%, 12%, 71%)
CSS variable
--color-primary: #4B0842;
Lowercase HEX
#4b0842

Shades

Tints

Tones

Harmony

CSS snippets for #4B0842

.color-4b0842 {
  color: #4B0842;
  background-color: #4B0842;
}

Frequently asked questions

What color is #4B0842?+

#4B0842 is a HEX color with RGB value rgb(75, 8, 66) and HSL value hsl(308, 81%, 16%). Its closest CSS named color is Indigo.

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

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