#402056

Dark Purple

HEX

RGB

HSL

About #402056 Dark Purple

#402056 is a dark purple color. In the RGB color model, it is composed of 64 red, 32 green, and 86 blue. In the HSL color space, it has a hue of 276°, saturation of 46%, and lightness of 23%.

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

Color Properties

276°

Hue

46%

Saturation

23%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#402056 on White
Contrast Ratio13.47:1
AA AA Large AAA
Aa#402056 on Black
Contrast Ratio1.56:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #402056 across different color formats.

FormatValue
HEX#402056
RGBrgb(64, 32, 86)
HSLhsl(276, 46%, 23%)
RGB Decimal64, 32, 86
RGB Percent25.1%, 12.5%, 33.7%
CMYK (approx.)26%, 63%, 0%, 66%

Related Palettes

12 palettes using #402056 or similar colors

#1E0E25#421C54#5E436B#8647A4
#1D1221#431E52#60416C#805D8E
#1B0D26#3C1D53#5C2C82#795892
#1C1023#3E2150#5C406D#7C5991
#1A1320#3B1D53#593E70#794D9D
#1C0F24#3D214F#5B416C#7E4C9F
#1A1320#3B2050#59426C#795A90
#1B1320#3F224E#603875#7F5596
#1F1023#481E52#6F307D#993CAE
#1B141F#3E244D#5D426C#7D5D8E
#1E1221#491F51#6E3479#8C5497
#1B141F#3E244C#5E3E6F#8349A2