#3A0387 Color

Inspect #3A0387 across formats, palettes, contrast and closest named color matches.

Color preview

#3A0387

Color formats

HEX
#3A0387
RGB
rgb(58, 3, 135)
RGBA
rgba(58, 3, 135, 1)
HSL
hsl(265, 96%, 27%)
HSV
hsv(265, 98%, 53%)
CMYK
cmyk(57%, 98%, 0%, 47%)
CSS variable
--color-primary: #3A0387;
Lowercase HEX
#3a0387

Shades

Tints

Tones

Harmony

CSS snippets for #3A0387

.color-3a0387 {
  color: #3A0387;
  background-color: #3A0387;
}

Frequently asked questions

What color is #3A0387?+

#3A0387 is a HEX color with RGB value rgb(58, 3, 135) and HSL value hsl(265, 96%, 27%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #3A0387?+

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