#5840A5

Purple

HEX

RGB

HSL

About #5840A5 Purple

#5840A5 is a purple color. In the RGB color model, it is composed of 88 red, 64 green, and 165 blue. In the HSL color space, it has a hue of 254°, saturation of 44%, and lightness of 45%.

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 & Gradients

Use #5840A5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

254°

Hue

44%

Saturation

45%

Lightness

Purple

Color Harmonies

Colors that work well with #5840A5 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #5840A5 against white and black backgrounds.

Aa#5840A5 on White
Contrast Ratio7.8:1
AA AA Large AAA
Aa#5840A5 on Black
Contrast Ratio2.69:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5840A5 across different color formats.

FormatValue
HEX#5840A5
RGBrgb(88, 64, 165)
HSLhsl(254, 44%, 45%)
RGB Decimal88, 64, 165
RGB Percent34.5%, 25.1%, 64.7%
CMYK (approx.)47%, 61%, 0%, 35%

Related Palettes

12 palettes using #5840A5 or similar colors

#141320#2D2948#413A74#5144A6
#140F24#2A1C54#422E7F#5E46A5
#150E25#31254B#4B3A73#6142A9
#161320#2D254B#463A74#553CAE
#161320#302947#422D80#5F48A3
#0C134F#1D267D#5C469C#D4ADFC
#140D26#332C44#4C3C72#6347A4
#161320#302749#4D446A#604B9F
#121221#201F51#393875#4C4AA1
#111023#222050#393677#4742A9
#131320#2B2B45#30307E#4949A1
#111023#242051#362F7E#473EAD