#5A2178

Purple

HEX

RGB

HSL

About #5A2178 Purple

#5A2178 is a purple color. In the RGB color model, it is composed of 90 red, 33 green, and 120 blue. In the HSL color space, it has a hue of 279°, saturation of 57%, and lightness of 30%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #5A2178 in your CSS, SCSS, or Tailwind projects.

Color Properties

279°

Hue

57%

Saturation

30%

Lightness

Purple

Color Harmonies

Colors that work well with #5A2178 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #5A2178 against white and black backgrounds.

Aa#5A2178 on White
Contrast Ratio10.92:1
AA AA Large AAA
Aa#5A2178 on Black
Contrast Ratio1.92:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5A2178 across different color formats.

FormatValue
HEX#5A2178
RGBrgb(90, 33, 120)
HSLhsl(279, 57%, 30%)
RGB Decimal90, 33, 120
RGB Percent35.3%, 12.9%, 47.1%
CMYK (approx.)25%, 73%, 0%, 53%

Related Palettes

12 palettes using #5A2178 or similar colors

#1B0D26#3C1D53#5C2C82#795892
#250B28#4B1452#682A6F#922E9E
#181221#33214F#4D2B82#6B49A2
#1B0E25#3A2947#5A3578#795298
#171023#352B45#4D2F7E#6F5A90
#F9ED69#F08A5D#B83B5E#6A2C70
#160A29#2F2046#452574#5F418B
#1F0E25#402848#67337A#825991
#160E25#32254C#4A307D#6C5991
#1C1C1C#533483#6F3DC2#EB5B00
#1B1320#3F224E#603875#7F5596
#1A0D26#392A46#593974#7846A4