#402054 Color Information

In a RGB color space, hex #402054 is composed of 25.1% red, 12.5% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 23.8% cyan, 61.9% magenta, 0% yellow and 67.1% black. It has a hue angle of 276.9 degrees, a saturation of 44.8% and a lightness of 22.7%. #402054 color hex could be obtained by blending #8040a8 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 33
    RGB color chart
    • C 24
    • M 62
    • Y 0
    • K 67
    CMYK color chart

#402054 color description : Very dark violet.

#402054 Color Conversion

The hexadecimal color #402054 has RGB values of R:64, G:32, B:84 and CMYK values of C:0.24, M:0.62, Y:0, K:0.67. Its decimal value is 4202580.

Hex triplet 402054 #402054
RGB Decimal 64, 32, 84 rgb(64,32,84)
RGB Percent 25.1, 12.5, 32.9 rgb(25.1%,12.5%,32.9%)
CMYK 24, 62, 0, 67
HSL 276.9°, 44.8, 22.7 hsl(276.9,44.8%,22.7%)
HSV (or HSB) 276.9°, 61.9, 32.9
Web Safe 333366 #333366
CIE-LAB 19.069, 26.04, -25.669
XYZ 4.231, 2.763, 8.697
xyY 0.27, 0.176, 2.763
CIE-LCH 19.069, 36.565, 315.411
CIE-LUV 19.069, 9.41, -30.203
Hunter-Lab 16.623, 16.342, -19.386
Binary 01000000, 00100000, 01010100

Color Schemes with #402054

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #402054

Below, you can see some colors close to #402054. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#402054 Preview

Text with hexadecimal color #402054

This text has a font color of #402054.

<span style="color:#402054;">Text here</span>
#402054 background color

This paragraph has a background color of #402054.

<p style="background-color:#402054;">Content here</p>
#402054 border color

This element has a border color of #402054.

<div style="border:1px solid #402054;">Content here</div>
CSS codes
.text {color:#402054;}
.background {background-color:#402054;}
.border {border:1px solid #402054;}

Shades and Tints of #402054

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0a050d is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402054

A tone is produced by adding gray to any pure hue. In this case, #3b363e is the less saturated color, while #470173 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402054 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #2f2f2f Achromatopsia 0.005% of the population
  • #322c36 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1a3766 Protanopia 1% of men
  • #243958 Deuteranopia 1% of men
  • #433539 Tritanopia 0.001% of the population
Trichromacy
  • #282f60 Protanomaly 1% of men, 0.01% of women
  • #2e3056 Deuteranomaly 6% of men, 0.4% of women
  • #412d43 Tritanomaly 0.01% of the population