#5A1287

Purple

HEX

RGB

HSL

About #5A1287 Purple

#5A1287 is a purple color. In the RGB color model, it is composed of 90 red, 18 green, and 135 blue. In the HSL color space, it has a hue of 277°, saturation of 76%, and lightness of 30%.

This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.

CSS Code

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

Color Properties

277°

Hue

76%

Saturation

30%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#5A1287 on White
Contrast Ratio11.22:1
AA AA Large AAA
Aa#5A1287 on Black
Contrast Ratio1.87:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5A1287 across different color formats.

FormatValue
HEX#5A1287
RGBrgb(90, 18, 135)
HSLhsl(277, 76%, 30%)
RGB Decimal90, 18, 135
RGB Percent35.3%, 7.1%, 52.9%
CMYK (approx.)33%, 87%, 0%, 47%

Related Palettes

12 palettes using #5A1287 or similar colors

#1B0D26#3C1D53#5C2C82#795892
#181221#33214F#4D2B82#6B49A2
#171023#352B45#4D2F7E#6F5A90
#160A29#2F2046#452574#5F418B
#1C1C1C#533483#6F3DC2#EB5B00
#160E25#32254C#4A307D#6C5991
#1E1320#422947#702E7F#865B8F
#250B28#4B1452#682A6F#922E9E
#161320#302947#422D80#5F48A3
#140F24#2A1C54#422E7F#5E46A5
#1F0E25#402848#67337A#825991
#1F1023#481E52#6F307D#993CAE