#402A6F

Purple

HEX

RGB

HSL

About #402A6F Purple

#402A6F is a purple color. In the RGB color model, it is composed of 64 red, 42 green, and 111 blue. In the HSL color space, it has a hue of 259°, saturation of 45%, and lightness of 30%.

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

Color Properties

259°

Hue

45%

Saturation

30%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#402A6F on White
Contrast Ratio11.81:1
AA AA Large AAA
Aa#402A6F on Black
Contrast Ratio1.78:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #402A6F across different color formats.

FormatValue
HEX#402A6F
RGBrgb(64, 42, 111)
HSLhsl(259, 45%, 30%)
RGB Decimal64, 42, 111
RGB Percent25.1%, 16.5%, 43.5%
CMYK (approx.)42%, 62%, 0%, 56%

Related Palettes

12 palettes using #402A6F or similar colors

#160A29#2F2046#452574#5F418B
#3F3366#714C9A#A67DB5#D4AAD4
#373267#6A588D#9E7CB6#CAAFCF
#3F3564#70598C#A777BB#D1ACD3
#141122#22184E#3E3564#432F9D
#433564#755A8B#A781B1#D1ADD0
#111023#222050#393677#4742A9
#140E25#2F264A#44317D#675991
#110F24#29244C#3A327C#5B5397
#150F24#30264A#47337B#6B5E8D
#140F24#2A1C54#422E7F#5E46A5
#121122#252343#373465#484488