#402168 Color Information

In a RGB color space, hex #402168 is composed of 25.1% red, 12.9% green and 40.8% blue. Whereas in a CMYK color space, it is composed of 38.5% cyan, 68.3% magenta, 0% yellow and 59.2% black. It has a hue angle of 266.2 degrees, a saturation of 51.8% and a lightness of 26.9%. #402168 color hex could be obtained by blending #8042d0 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 41
    RGB color chart
    • C 38
    • M 68
    • Y 0
    • K 59
    CMYK color chart

#402168 color description : Very dark violet.

#402168 Color Conversion

The hexadecimal color #402168 has RGB values of R:64, G:33, B:104 and CMYK values of C:0.38, M:0.68, Y:0, K:0.59. Its decimal value is 4202856.

Hex triplet 402168 #402168
RGB Decimal 64, 33, 104 rgb(64,33,104)
RGB Percent 25.1, 12.9, 40.8 rgb(25.1%,12.9%,40.8%)
CMYK 38, 68, 0, 59
HSL 266.2°, 51.8, 26.9 hsl(266.2,51.8%,26.9%)
HSV (or HSB) 266.2°, 68.3, 40.8
Web Safe 333366 #333366
CIE-LAB 20.74, 30.919, -36.23
XYZ 5.156, 3.177, 13.438
xyY 0.237, 0.146, 3.177
CIE-LCH 20.74, 47.63, 310.478
CIE-LUV 20.74, 6.374, -43.486
Hunter-Lab 17.825, 20.445, -32.22
Binary 01000000, 00100001, 01101000

Color Schemes with #402168

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

Alternatives to #402168

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

Similar Colors

#402168 Preview

Text with hexadecimal color #402168

This text has a font color of #402168.

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

This paragraph has a background color of #402168.

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

This element has a border color of #402168.

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

Shades and Tints of #402168

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, #09050f is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402168

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402168 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
  • #352f3d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003d66 Deuteranopia 1% of men
  • #3d3b40 Tritanopia 0.001% of the population
Trichromacy
  • #17316e Protanomaly 1% of men, 0.01% of women
  • #173366 Deuteranomaly 6% of men, 0.4% of women
  • #3e324e Tritanomaly 0.01% of the population