#5840C4

Purple

HEX

RGB

HSL

About #5840C4 Purple

#5840C4 is a purple color. In the RGB color model, it is composed of 88 red, 64 green, and 196 blue. In the HSL color space, it has a hue of 251°, saturation of 53%, 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 #5840C4 in your CSS, SCSS, or Tailwind projects.

Color Properties

251°

Hue

53%

Saturation

51%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#5840C4 on White
Contrast Ratio7.13:1
AA AA Large AAA
Aa#5840C4 on Black
Contrast Ratio2.95:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5840C4 across different color formats.

FormatValue
HEX#5840C4
RGBrgb(88, 64, 196)
HSLhsl(251, 53%, 51%)
RGB Decimal88, 64, 196
RGB Percent34.5%, 25.1%, 76.9%
CMYK (approx.)55%, 67%, 0%, 23%

Related Palettes

12 palettes using #5840C4 or similar colors

#2550A7#5E46D2#C47EE7#F5BDEB
#1D52AF#5844D4#C081E4#F5BCEE
#1C1C1C#533483#6F3DC2#EB5B00
#6E3CBC#7267CB#9D81D6#D4B8E0
#155BB7#493FD9#B982E3#F3BEF0
#111023#242051#362F7E#473EAD
#5322C3#B345DE#E779D9#F0ADCB
#5022C3#B045DE#E779DA#F0ADCC
#2662A6#423DDC#B681E4#F5BCF3
#140D26#332C44#4C3C72#6347A4
#161320#302947#422D80#5F48A3
#544DE5#E5544D#4DE554#BFBCF5