#402162 Color Information

In a RGB color space, hex #402162 is composed of 25.1% red, 12.9% green and 38.4% blue. Whereas in a CMYK color space, it is composed of 34.7% cyan, 66.3% magenta, 0% yellow and 61.6% black. It has a hue angle of 268.6 degrees, a saturation of 49.6% and a lightness of 25.7%. #402162 color hex could be obtained by blending #8042c4 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 38
    RGB color chart
    • C 35
    • M 66
    • Y 0
    • K 62
    CMYK color chart

#402162 color description : Very dark violet.

#402162 Color Conversion

The hexadecimal color #402162 has RGB values of R:64, G:33, B:98 and CMYK values of C:0.35, M:0.66, Y:0, K:0.62. Its decimal value is 4202850.

Hex triplet 402162 #402162
RGB Decimal 64, 33, 98 rgb(64,33,98)
RGB Percent 25.1, 12.9, 38.4 rgb(25.1%,12.9%,38.4%)
CMYK 35, 66, 0, 62
HSL 268.6°, 49.6, 25.7 hsl(268.6,49.6%,25.7%)
HSV (or HSB) 268.6°, 66.3, 38.4
Web Safe 333366 #333366
CIE-LAB 20.281, 29.23, -33.039
XYZ 4.862, 3.06, 11.889
xyY 0.245, 0.154, 3.06
CIE-LCH 20.281, 44.113, 311.499
CIE-LUV 20.281, 7.175, -39.473
Hunter-Lab 17.492, 19.01, -28.055
Binary 01000000, 00100001, 01100010

Color Schemes with #402162

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

Alternatives to #402162

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

Similar Colors

#402162 Preview

Text with hexadecimal color #402162

This text has a font color of #402162.

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

This paragraph has a background color of #402162.

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

This element has a border color of #402162.

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

Shades and Tints of #402162

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, #07030a is the darkest color, while #fcfafd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402162

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402162 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
  • #003971 Protanopia 1% of men
  • #0d3c64 Deuteranopia 1% of men
  • #3f3a3e Tritanopia 0.001% of the population
Trichromacy
  • #17306b Protanomaly 1% of men, 0.01% of women
  • #203263 Deuteranomaly 6% of men, 0.4% of women
  • #3f304b Tritanomaly 0.01% of the population