#5A2871

Purple

HEX

RGB

HSL

About #5A2871 Purple

#5A2871 is a purple color. In the RGB color model, it is composed of 90 red, 40 green, and 113 blue. In the HSL color space, it has a hue of 281°, saturation of 48%, 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 #5A2871 in your CSS, SCSS, or Tailwind projects.

Color Properties

281°

Hue

48%

Saturation

30%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#5A2871 on White
Contrast Ratio10.62:1
AA AA Large AAA
Aa#5A2871 on Black
Contrast Ratio1.98:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5A2871 across different color formats.

FormatValue
HEX#5A2871
RGBrgb(90, 40, 113)
HSLhsl(281, 48%, 30%)
RGB Decimal90, 40, 113
RGB Percent35.3%, 15.7%, 44.3%
CMYK (approx.)20%, 65%, 0%, 56%

Related Palettes

12 palettes using #5A2871 or similar colors

#250B28#4B1452#682A6F#922E9E
#563267#924F97#BC76AF#D0AFC1
#1B0E25#3A2947#5A3578#795298
#F9ED69#F08A5D#B83B5E#6A2C70
#1A0D26#392A46#593974#7846A4
#503267#865491#B47EB0#CEB0C5
#1B1320#3F224E#603875#7F5596
#1B0D26#3C1D53#5C2C82#795892
#1F0E25#402848#67337A#825991
#1D0F24#3E254B#5F3B72#8541AA
#171023#352B45#4D2F7E#6F5A90
#623564#9B4B89#BB779B#D3ACB7