#402f79 Color Information

In a RGB color space, hex #402f79 is composed of 25.1% red, 18.4% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 47.1% cyan, 61.2% magenta, 0% yellow and 52.5% black. It has a hue angle of 253.8 degrees, a saturation of 44% and a lightness of 32.9%. #402f79 color hex could be obtained by blending #805ef2 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 47
    RGB color chart
    • C 47
    • M 61
    • Y 0
    • K 53
    CMYK color chart

#402f79 color description : Dark moderate blue.

#402f79 Color Conversion

The hexadecimal color #402f79 has RGB values of R:64, G:47, B:121 and CMYK values of C:0.47, M:0.61, Y:0, K:0.53. Its decimal value is 4206457.

Hex triplet 402f79 #402f79
RGB Decimal 64, 47, 121 rgb(64,47,121)
RGB Percent 25.1, 18.4, 47.5 rgb(25.1%,18.4%,47.5%)
CMYK 47, 61, 0, 53
HSL 253.8°, 44, 32.9 hsl(253.8,44%,32.9%)
HSV (or HSB) 253.8°, 61.2, 47.5
Web Safe 333366 #333366
CIE-LAB 25.27, 27.43, -39.838
XYZ 6.581, 4.503, 18.611
xyY 0.222, 0.152, 4.503
CIE-LCH 25.27, 48.368, 304.55
CIE-LUV 25.27, 1.551, -51.405
Hunter-Lab 21.221, 18.222, -37.141
Binary 01000000, 00101111, 01111001

Color Schemes with #402f79

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

Alternatives to #402f79

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

Similar Colors

#402f79 Preview

Text with hexadecimal color #402f79

This text has a font color of #402f79.

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

This paragraph has a background color of #402f79.

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

This element has a border color of #402f79.

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

Shades and Tints of #402f79

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 #402f79

A tone is produced by adding gray to any pure hue. In this case, #514f59 is the less saturated color, while #2802a6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f79 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #3e3a49 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004385 Protanopia 1% of men
  • #004776 Deuteranopia 1% of men
  • #39484d Tritanopia 0.001% of the population
Trichromacy
  • #173c80 Protanomaly 1% of men, 0.01% of women
  • #173e77 Deuteranomaly 6% of men, 0.4% of women
  • #3b3f5d Tritanomaly 0.01% of the population