#51398E Color

Inspect #51398E across formats, palettes, contrast and closest named color matches.

Color preview

#51398E

Color formats

HEX
#51398E
RGB
rgb(81, 57, 142)
RGBA
rgba(81, 57, 142, 1)
HSL
hsl(257, 43%, 39%)
HSV
hsv(257, 60%, 56%)
CMYK
cmyk(43%, 60%, 0%, 44%)
CSS variable
--color-primary: #51398E;
Lowercase HEX
#51398e

Shades

Tints

Tones

Harmony

CSS snippets for #51398E

.color-51398e {
  color: #51398E;
  background-color: #51398E;
}

Frequently asked questions

What color is #51398E?+

#51398E is a HEX color with RGB value rgb(81, 57, 142) and HSL value hsl(257, 43%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #51398E?+

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