#402a6e Color Information

In a RGB color space, hex #402a6e is composed of 25.1% red, 16.5% green and 43.1% blue. Whereas in a CMYK color space, it is composed of 41.8% cyan, 61.8% magenta, 0% yellow and 56.9% black. It has a hue angle of 259.4 degrees, a saturation of 44.7% and a lightness of 29.8%. #402a6e color hex could be obtained by blending #8054dc with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 43
    RGB color chart
    • C 42
    • M 62
    • Y 0
    • K 57
    CMYK color chart

#402a6e color description : Very dark violet.

#402a6e Color Conversion

The hexadecimal color #402a6e has RGB values of R:64, G:42, B:110 and CMYK values of C:0.42, M:0.62, Y:0, K:0.57. Its decimal value is 4205166.

Hex triplet 402a6e #402a6e
RGB Decimal 64, 42, 110 rgb(64,42,110)
RGB Percent 25.1, 16.5, 43.1 rgb(25.1%,16.5%,43.1%)
CMYK 42, 62, 0, 57
HSL 259.4°, 44.7, 29.8 hsl(259.4,44.7%,29.8%)
HSV (or HSB) 259.4°, 61.8, 43.1
Web Safe 333366 #333366
CIE-LAB 23.243, 27.204, -36.08
XYZ 5.756, 3.872, 15.195
xyY 0.232, 0.156, 3.872
CIE-LCH 23.243, 45.187, 307.016
CIE-LUV 23.243, 3.806, -45.285
Hunter-Lab 19.677, 17.785, -32.013
Binary 01000000, 00101010, 01101110

Color Schemes with #402a6e

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

Alternatives to #402a6e

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

Similar Colors

#402a6e Preview

Text with hexadecimal color #402a6e

This text has a font color of #402a6e.

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

This paragraph has a background color of #402a6e.

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

This element has a border color of #402a6e.

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

Shades and Tints of #402a6e

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, #06040b is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a6e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a6e 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a3543 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7d Protanopia 1% of men
  • #00426f Deuteranopia 1% of men
  • #3c4247 Tritanopia 0.001% of the population
Trichromacy
  • #173777 Protanomaly 1% of men, 0.01% of women
  • #17396e Deuteranomaly 6% of men, 0.4% of women
  • #3e3955 Tritanomaly 0.01% of the population