#5A42C2

Purple

HEX

RGB

HSL

About #5A42C2 Purple

#5A42C2 is a purple color. In the RGB color model, it is composed of 90 red, 66 green, and 194 blue. In the HSL color space, it has a hue of 251°, saturation of 51%, and lightness of 51%.

This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.

CSS Code

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

Color Properties

251°

Hue

51%

Saturation

51%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#5A42C2 on White
Contrast Ratio7.02:1
AA AA Large AAA
Aa#5A42C2 on Black
Contrast Ratio2.99:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5A42C2 across different color formats.

FormatValue
HEX#5A42C2
RGBrgb(90, 66, 194)
HSLhsl(251, 51%, 51%)
RGB Decimal90, 66, 194
RGB Percent35.3%, 25.9%, 76.1%
CMYK (approx.)54%, 66%, 0%, 24%

Related Palettes

12 palettes using #5A42C2 or similar colors

#5087BB#6042C0#C777C8#C76B84
#5646BD#C250D1#C76589#CF916B
#5846B9#CC76D5#C63A6B#CE9671
#4990C3#533CCA#B74FC1#C35E7F
#4280C3#6845C7#C362C2#C05C73
#7DCEBE#5280B8#653BCA#D66CD1
#664BC7#D569D9#BA5D78#CE9D71
#514FC1#AC66C2#BE4F85#D28A70
#5851BD#B264C4#C6437C#D28D6E
#2550A7#5E46D2#C47EE7#F5BDEB
#45BE8A#599BBA#4940C8#AC46C3
#1D52AF#5844D4#C081E4#F5BCEE