#5940BF

Purple

HEX

RGB

HSL

About #5940BF Purple

#5940BF is a purple color. In the RGB color model, it is composed of 89 red, 64 green, and 191 blue. In the HSL color space, it has a hue of 252°, saturation of 50%, and lightness of 50%.

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

Color Properties

252°

Hue

50%

Saturation

50%

Lightness

Purple

Color Harmonies

Colors that work well with #5940BF based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #5940BF against white and black backgrounds.

Aa#5940BF on White
Contrast Ratio7.22:1
AA AA Large AAA
Aa#5940BF on Black
Contrast Ratio2.91:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5940BF across different color formats.

FormatValue
HEX#5940BF
RGBrgb(89, 64, 191)
HSLhsl(252, 50%, 50%)
RGB Decimal89, 64, 191
RGB Percent34.9%, 25.1%, 74.9%
CMYK (approx.)53%, 66%, 0%, 25%

Related Palettes

12 palettes using #5940BF or similar colors

#2550A7#5E46D2#C47EE7#F5BDEB
#1D52AF#5844D4#C081E4#F5BCEE
#6E3CBC#7267CB#9D81D6#D4B8E0
#1C1C1C#533483#6F3DC2#EB5B00
#111023#242051#362F7E#473EAD
#140D26#332C44#4C3C72#6347A4
#161320#302947#422D80#5F48A3
#155BB7#493FD9#B982E3#F3BEF0
#5322C3#B345DE#E779D9#F0ADCB
#5022C3#B045DE#E779DA#F0ADCC
#3F367C#6B49A6#9C7EAF#CA98D2
#180D26#361E52#554469#7043A8