#5A42B8

Purple

HEX

RGB

HSL

About #5A42B8 Purple

#5A42B8 is a purple color. In the RGB color model, it is composed of 90 red, 66 green, and 184 blue. In the HSL color space, it has a hue of 252°, saturation of 47%, and lightness of 49%.

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 #5A42B8 in your CSS, SCSS, or Tailwind projects.

Color Properties

252°

Hue

47%

Saturation

49%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#5A42B8 on White
Contrast Ratio7.23:1
AA AA Large AAA
Aa#5A42B8 on Black
Contrast Ratio2.91:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5A42B8 across different color formats.

FormatValue
HEX#5A42B8
RGBrgb(90, 66, 184)
HSLhsl(252, 47%, 49%)
RGB Decimal90, 66, 184
RGB Percent35.3%, 25.9%, 72.2%
CMYK (approx.)51%, 64%, 0%, 28%

Related Palettes

12 palettes using #5A42B8 or similar colors

#6E3CBC#7267CB#9D81D6#D4B8E0
#111023#242051#362F7E#473EAD
#161320#302947#422D80#5F48A3
#140D26#332C44#4C3C72#6347A4
#1C1C1C#533483#6F3DC2#EB5B00
#3F367C#6B49A6#9C7EAF#CA98D2
#2550A7#5E46D2#C47EE7#F5BDEB
#180D26#361E52#554469#7043A8
#121221#201F51#393875#4C4AA1
#3C4E76#4C50A4#7F6FBE#B39CCE
#1D52AF#5844D4#C081E4#F5BCEE
#0C134F#1D267D#5C469C#D4ADFC