#3A048B Color

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

Color preview

#3A048B

Color formats

HEX
#3A048B
RGB
rgb(58, 4, 139)
RGBA
rgba(58, 4, 139, 1)
HSL
hsl(264, 94%, 28%)
HSV
hsv(264, 97%, 55%)
CMYK
cmyk(58%, 97%, 0%, 45%)
CSS variable
--color-primary: #3A048B;
Lowercase HEX
#3a048b

Shades

Tints

Tones

Harmony

CSS snippets for #3A048B

.color-3a048b {
  color: #3A048B;
  background-color: #3A048B;
}

Frequently asked questions

What color is #3A048B?+

#3A048B is a HEX color with RGB value rgb(58, 4, 139) and HSL value hsl(264, 94%, 28%). Its closest CSS named color is Indigo.

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

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