#402F6F

Purple

HEX

RGB

HSL

About #402F6F Purple

#402F6F is a purple color. In the RGB color model, it is composed of 64 red, 47 green, and 111 blue. In the HSL color space, it has a hue of 256°, saturation of 41%, and lightness of 31%.

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

Color Properties

256°

Hue

41%

Saturation

31%

Lightness

Purple

Color Harmonies

Colors that work well with #402F6F based on color theory.

Accessibility

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

Aa#402F6F on White
Contrast Ratio11.33:1
AA AA Large AAA
Aa#402F6F on Black
Contrast Ratio1.85:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #402F6F across different color formats.

FormatValue
HEX#402F6F
RGBrgb(64, 47, 111)
HSLhsl(256, 41%, 31%)
RGB Decimal64, 47, 111
RGB Percent25.1%, 18.4%, 43.5%
CMYK (approx.)42%, 58%, 0%, 56%

Related Palettes

12 palettes using #402F6F or similar colors

#3F3366#714C9A#A67DB5#D4AAD4
#141320#2D2948#413A74#5144A6
#160A29#2F2046#452574#5F418B
#373267#6A588D#9E7CB6#CAAFCF
#3F3564#70598C#A777BB#D1ACD3
#141122#22184E#3E3564#432F9D
#111023#222050#393677#4742A9
#121221#201F51#393875#4C4AA1
#433564#755A8B#A781B1#D1ADD0
#161320#2D254B#463A74#553CAE
#E4DCCF#F2DDA4#7EB5A6#413C69
#121122#252343#373465#484488