#5F398C Color

Inspect #5F398C across formats, palettes, contrast and closest named color matches.

Color preview

#5F398C

Color formats

HEX
#5F398C
RGB
rgb(95, 57, 140)
RGBA
rgba(95, 57, 140, 1)
HSL
hsl(267, 42%, 39%)
HSV
hsv(267, 59%, 55%)
CMYK
cmyk(32%, 59%, 0%, 45%)
CSS variable
--color-primary: #5F398C;
Lowercase HEX
#5f398c

Shades

Tints

Tones

Harmony

CSS snippets for #5F398C

.color-5f398c {
  color: #5F398C;
  background-color: #5F398C;
}

Frequently asked questions

What color is #5F398C?+

#5F398C is a HEX color with RGB value rgb(95, 57, 140) and HSL value hsl(267, 42%, 39%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #5F398C?+

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