#402b7d Color Information

In a RGB color space, hex #402b7d is composed of 25.1% red, 16.9% green and 49% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 65.6% magenta, 0% yellow and 51% black. It has a hue angle of 255.4 degrees, a saturation of 48.8% and a lightness of 32.9%. #402b7d color hex could be obtained by blending #8056fa with #000000. Closest websafe color is: #333366.

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

#402b7d color description : Dark moderate violet.

#402b7d Color Conversion

The hexadecimal color #402b7d has RGB values of R:64, G:43, B:125 and CMYK values of C:0.49, M:0.66, Y:0, K:0.51. Its decimal value is 4205437.

Hex triplet 402b7d #402b7d
RGB Decimal 64, 43, 125 rgb(64,43,125)
RGB Percent 25.1, 16.9, 49 rgb(25.1%,16.9%,49%)
CMYK 49, 66, 0, 51
HSL 255.4°, 48.8, 32.9 hsl(255.4,48.8%,32.9%)
HSV (or HSB) 255.4°, 65.6, 49
Web Safe 333366 #333366
CIE-LAB 24.634, 31.185, -43.4
XYZ 6.679, 4.298, 19.879
xyY 0.216, 0.139, 4.298
CIE-LCH 24.634, 53.442, 305.699
CIE-LUV 24.634, 2.061, -55.261
Hunter-Lab 20.732, 21.225, -42.336
Binary 01000000, 00101011, 01111101

Color Schemes with #402b7d

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

Alternatives to #402b7d

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

Similar Colors

#402b7d Preview

Text with hexadecimal color #402b7d

This text has a font color of #402b7d.

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

This paragraph has a background color of #402b7d.

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

This element has a border color of #402b7d.

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

Shades and Tints of #402b7d

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b7d 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #3c3848 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004282 Protanopia 1% of men
  • #004672 Deuteranopia 1% of men
  • #36474c Tritanopia 0.001% of the population
Trichromacy
  • #173a80 Protanomaly 1% of men, 0.01% of women
  • #173c76 Deuteranomaly 6% of men, 0.4% of women
  • #3a3d5e Tritanomaly 0.01% of the population