#40204c Color Information

In a RGB color space, hex #40204c is composed of 25.1% red, 12.5% green and 29.8% blue. Whereas in a CMYK color space, it is composed of 15.8% cyan, 57.9% magenta, 0% yellow and 70.2% black. It has a hue angle of 283.6 degrees, a saturation of 40.7% and a lightness of 21.2%. #40204c color hex could be obtained by blending #804098 with #000000. Closest websafe color is: #333333.

    • R 25
    • G 13
    • B 30
    RGB color chart
    • C 16
    • M 58
    • Y 0
    • K 70
    CMYK color chart

#40204c color description : Very dark desaturated violet.

#40204c Color Conversion

The hexadecimal color #40204c has RGB values of R:64, G:32, B:76 and CMYK values of C:0.16, M:0.58, Y:0, K:0.7. Its decimal value is 4202572.

Hex triplet 40204c #40204c
RGB Decimal 64, 32, 76 rgb(64,32,76)
RGB Percent 25.1, 12.5, 29.8 rgb(25.1%,12.5%,29.8%)
CMYK 16, 58, 0, 70
HSL 283.6°, 40.7, 21.2 hsl(283.6,40.7%,21.2%)
HSV (or HSB) 283.6°, 57.9, 29.8
Web Safe 333333 #333333
CIE-LAB 18.562, 24, -21.063
XYZ 3.935, 2.645, 7.14
xyY 0.287, 0.193, 2.645
CIE-LCH 18.562, 31.932, 318.73
CIE-LUV 18.562, 10.669, -24.682
Hunter-Lab 16.263, 14.731, -14.647
Binary 01000000, 00100000, 01001100

Color Schemes with #40204c

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

Alternatives to #40204c

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

Similar Colors

#40204c Preview

Text with hexadecimal color #40204c

This text has a font color of #40204c.

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

This paragraph has a background color of #40204c.

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

This element has a border color of #40204c.

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

Shades and Tints of #40204c

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, #060307 is the darkest color, while #fbf8fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40204c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40204c 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
  • #322c35 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #24365e Protanopia 1% of men
  • #2b3751 Deuteranopia 1% of men
  • #443337 Tritanopia 0.001% of the population
Trichromacy
  • #2e2e57 Protanomaly 1% of men, 0.01% of women
  • #322f4f Deuteranomaly 6% of men, 0.4% of women
  • #432c3e Tritanomaly 0.01% of the population