#402a74 Color Information

In a RGB color space, hex #402a74 is composed of 25.1% red, 16.5% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 63.8% magenta, 0% yellow and 54.5% black. It has a hue angle of 257.8 degrees, a saturation of 46.8% and a lightness of 31%. #402a74 color hex could be obtained by blending #8054e8 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 45
    RGB color chart
    • C 45
    • M 64
    • Y 0
    • K 55
    CMYK color chart

#402a74 color description : Dark moderate violet.

#402a74 Color Conversion

The hexadecimal color #402a74 has RGB values of R:64, G:42, B:116 and CMYK values of C:0.45, M:0.64, Y:0, K:0.55. Its decimal value is 4205172.

Hex triplet 402a74 #402a74
RGB Decimal 64, 42, 116 rgb(64,42,116)
RGB Percent 25.1, 16.5, 45.5 rgb(25.1%,16.5%,45.5%)
CMYK 45, 64, 0, 55
HSL 257.8°, 46.8, 31 hsl(257.8,46.8%,31%)
HSV (or HSB) 257.8°, 63.8, 45.5
Web Safe 333366 #333366
CIE-LAB 23.694, 29.027, -39.202
XYZ 6.094, 4.007, 16.974
xyY 0.225, 0.148, 4.007
CIE-LCH 23.694, 48.779, 306.518
CIE-LUV 23.694, 3.171, -49.417
Hunter-Lab 20.017, 19.314, -36.266
Binary 01000000, 00101010, 01110100

Color Schemes with #402a74

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

Alternatives to #402a74

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

Similar Colors

#402a74 Preview

Text with hexadecimal color #402a74

This text has a font color of #402a74.

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

This paragraph has a background color of #402a74.

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

This element has a border color of #402a74.

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

Shades and Tints of #402a74

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

Shade Color Variation
Tint Color Variation

Tones of #402a74

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a74 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
  • #393939 Achromatopsia 0.005% of the population
  • #3a3645 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407e Protanopia 1% of men
  • #004370 Deuteranopia 1% of men
  • #3a4449 Tritanopia 0.001% of the population
Trichromacy
  • #17387a Protanomaly 1% of men, 0.01% of women
  • #173a71 Deuteranomaly 6% of men, 0.4% of women
  • #3c3a58 Tritanomaly 0.01% of the population