#402b7c Color Information

In a RGB color space, hex #402b7c is composed of 25.1% red, 16.9% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 48.4% cyan, 65.3% magenta, 0% yellow and 51.4% black. It has a hue angle of 255.6 degrees, a saturation of 48.5% and a lightness of 32.7%. #402b7c color hex could be obtained by blending #8056f8 with #000000. Closest websafe color is: #333366.

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

#402b7c color description : Dark moderate violet.

#402b7c Color Conversion

The hexadecimal color #402b7c has RGB values of R:64, G:43, B:124 and CMYK values of C:0.48, M:0.65, Y:0, K:0.51. Its decimal value is 4205436.

Hex triplet 402b7c #402b7c
RGB Decimal 64, 43, 124 rgb(64,43,124)
RGB Percent 25.1, 16.9, 48.6 rgb(25.1%,16.9%,48.6%)
CMYK 48, 65, 0, 51
HSL 255.6°, 48.5, 32.7 hsl(255.6,48.5%,32.7%)
HSV (or HSB) 255.6°, 65.3, 48.6
Web Safe 333366 #333366
CIE-LAB 24.554, 30.874, -42.898
XYZ 6.616, 4.273, 19.544
xyY 0.217, 0.14, 4.273
CIE-LCH 24.554, 52.853, 305.743
CIE-LUV 24.554, 2.157, -54.587
Hunter-Lab 20.671, 20.954, -41.588
Binary 01000000, 00101011, 01111100

Color Schemes with #402b7c

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

Alternatives to #402b7c

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

Similar Colors

#402b7c Preview

Text with hexadecimal color #402b7c

This text has a font color of #402b7c.

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

This paragraph has a background color of #402b7c.

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

This element has a border color of #402b7c.

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

Shades and Tints of #402b7c

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

Shade Color Variation
Tint Color Variation

Tones of #402b7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b7c 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
  • #004572 Deuteranopia 1% of men
  • #37474c Tritanopia 0.001% of the population
Trichromacy
  • #17397f Protanomaly 1% of men, 0.01% of women
  • #173c76 Deuteranomaly 6% of men, 0.4% of women
  • #3a3c5d Tritanomaly 0.01% of the population