#402a7e Color Information

In a RGB color space, hex #402a7e is composed of 25.1% red, 16.5% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 66.7% magenta, 0% yellow and 50.6% black. It has a hue angle of 255.7 degrees, a saturation of 50% and a lightness of 32.9%. #402a7e color hex could be obtained by blending #8054fc with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 49
    RGB color chart
    • C 49
    • M 67
    • Y 0
    • K 51
    CMYK color chart

#402a7e color description : Dark moderate violet.

#402a7e Color Conversion

The hexadecimal color #402a7e has RGB values of R:64, G:42, B:126 and CMYK values of C:0.49, M:0.67, Y:0, K:0.51. Its decimal value is 4205182.

Hex triplet 402a7e #402a7e
RGB Decimal 64, 42, 126 rgb(64,42,126)
RGB Percent 25.1, 16.5, 49.4 rgb(25.1%,16.5%,49.4%)
CMYK 49, 67, 0, 51
HSL 255.7°, 50, 32.9 hsl(255.7,50%,32.9%)
HSV (or HSB) 255.7°, 66.7, 49.4
Web Safe 333366 #333366
CIE-LAB 24.488, 32.105, -44.269
XYZ 6.708, 4.252, 20.205
xyY 0.215, 0.136, 4.252
CIE-LCH 24.488, 54.685, 305.95
CIE-LUV 24.488, 2.167, -56.168
Hunter-Lab 20.621, 21.976, -43.66
Binary 01000000, 00101010, 01111110

Color Schemes with #402a7e

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

Alternatives to #402a7e

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

Similar Colors

#402a7e Preview

Text with hexadecimal color #402a7e

This text has a font color of #402a7e.

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

This paragraph has a background color of #402a7e.

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

This element has a border color of #402a7e.

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

Shades and Tints of #402a7e

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

Shade Color Variation
Tint Color Variation

Tones of #402a7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a7e 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b3748 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004572 Deuteranopia 1% of men
  • #36474c Tritanopia 0.001% of the population
Trichromacy
  • #173980 Protanomaly 1% of men, 0.01% of women
  • #173b76 Deuteranomaly 6% of men, 0.4% of women
  • #393c5e Tritanomaly 0.01% of the population