#5145C1 Color

Inspect #5145C1 across formats, palettes, contrast and closest named color matches.

Color preview

#5145C1

Color formats

HEX
#5145C1
RGB
rgb(81, 69, 193)
RGBA
rgba(81, 69, 193, 1)
HSL
hsl(246, 50%, 51%)
HSV
hsv(246, 64%, 76%)
CMYK
cmyk(58%, 64%, 0%, 24%)
CSS variable
--color-primary: #5145C1;
Lowercase HEX
#5145c1

Shades

Tints

Tones

Harmony

CSS snippets for #5145C1

.color-5145c1 {
  color: #5145C1;
  background-color: #5145C1;
}

Frequently asked questions

What color is #5145C1?+

#5145C1 is a HEX color with RGB value rgb(81, 69, 193) and HSL value hsl(246, 50%, 51%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #5145C1?+

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