#402166 Color Information

In a RGB color space, hex #402166 is composed of 25.1% red, 12.9% green and 40% blue. Whereas in a CMYK color space, it is composed of 37.3% cyan, 67.6% magenta, 0% yellow and 60% black. It has a hue angle of 267 degrees, a saturation of 51.1% and a lightness of 26.5%. #402166 color hex could be obtained by blending #8042cc with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 40
    RGB color chart
    • C 37
    • M 68
    • Y 0
    • K 60
    CMYK color chart

#402166 color description : Very dark violet.

#402166 Color Conversion

The hexadecimal color #402166 has RGB values of R:64, G:33, B:102 and CMYK values of C:0.37, M:0.68, Y:0, K:0.6. Its decimal value is 4202854.

Hex triplet 402166 #402166
RGB Decimal 64, 33, 102 rgb(64,33,102)
RGB Percent 25.1, 12.9, 40 rgb(25.1%,12.9%,40%)
CMYK 37, 68, 0, 60
HSL 267°, 51.1, 26.5 hsl(267,51.1%,26.5%)
HSV (or HSB) 267°, 67.6, 40
Web Safe 333366 #333366
CIE-LAB 20.585, 30.353, -35.174
XYZ 5.056, 3.137, 12.909
xyY 0.24, 0.149, 3.137
CIE-LCH 20.585, 46.46, 310.792
CIE-LUV 20.585, 6.637, -42.154
Hunter-Lab 17.712, 19.96, -30.814
Binary 01000000, 00100001, 01100110

Color Schemes with #402166

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

Alternatives to #402166

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

Similar Colors

#402166 Preview

Text with hexadecimal color #402166

This text has a font color of #402166.

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

This paragraph has a background color of #402166.

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

This element has a border color of #402166.

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

Shades and Tints of #402166

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, #08040d is the darkest color, while #fefdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402166

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402166 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
  • #323232 Achromatopsia 0.005% of the population
  • #352f3c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003d65 Deuteranopia 1% of men
  • #3e3b3f Tritanopia 0.001% of the population
Trichromacy
  • #17316d Protanomaly 1% of men, 0.01% of women
  • #173365 Deuteranomaly 6% of men, 0.4% of women
  • #3f314d Tritanomaly 0.01% of the population