#3A315B Color

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

Color preview

#3A315B

Color formats

HEX
#3A315B
RGB
rgb(58, 49, 91)
RGBA
rgba(58, 49, 91, 1)
HSL
hsl(253, 30%, 27%)
HSV
hsv(253, 46%, 36%)
CMYK
cmyk(36%, 46%, 0%, 64%)
CSS variable
--color-primary: #3A315B;
Lowercase HEX
#3a315b

Shades

Tints

Tones

Harmony

CSS snippets for #3A315B

.color-3a315b {
  color: #3A315B;
  background-color: #3A315B;
}

Frequently asked questions

What color is #3A315B?+

#3A315B is a HEX color with RGB value rgb(58, 49, 91) and HSL value hsl(253, 30%, 27%). Its closest CSS named color is DarkSlateGray.

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

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