#402790

Purple

HEX

RGB

HSL

About #402790 Purple

#402790 is a purple color. In the RGB color model, it is composed of 64 red, 39 green, and 144 blue. In the HSL color space, it has a hue of 254°, saturation of 57%, and lightness of 36%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #402790 in your CSS, SCSS, or Tailwind projects.

Color Properties

254°

Hue

57%

Saturation

36%

Lightness

Purple

Color Harmonies

Colors that work well with #402790 based on color theory.

Accessibility

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

Aa#402790 on White
Contrast Ratio10.99:1
AA AA Large AAA
Aa#402790 on Black
Contrast Ratio1.91:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #402790 across different color formats.

FormatValue
HEX#402790
RGBrgb(64, 39, 144)
HSLhsl(254, 57%, 36%)
RGB Decimal64, 39, 144
RGB Percent25.1%, 15.3%, 56.5%
CMYK (approx.)56%, 73%, 0%, 44%

Related Palettes

12 palettes using #402790 or similar colors

#141122#22184E#3E3564#432F9D
#161320#302947#422D80#5F48A3
#181221#33214F#4D2B82#6B49A2
#3A27A5#A734E4#E67FD6#F4BED1
#111023#242051#362F7E#473EAD
#0E0F25#161850#272A72#353997
#3628A4#A037E2#E184D6#F1C1D3
#171023#352B45#4D2F7E#6F5A90
#110F24#29244C#3A327C#5B5397
#3F367C#6B49A6#9C7EAF#CA98D2
#150F24#30264A#47337B#6B5E8D
#131320#2B2B45#30307E#4949A1