#402b7a Color Information

In a RGB color space, hex #402b7a is composed of 25.1% red, 16.9% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 47.5% cyan, 64.8% magenta, 0% yellow and 52.2% black. It has a hue angle of 255.9 degrees, a saturation of 47.9% and a lightness of 32.4%. #402b7a color hex could be obtained by blending #8056f4 with #000000. Closest websafe color is: #333366.

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

#402b7a color description : Dark moderate violet.

#402b7a Color Conversion

The hexadecimal color #402b7a has RGB values of R:64, G:43, B:122 and CMYK values of C:0.48, M:0.65, Y:0, K:0.52. Its decimal value is 4205434.

Hex triplet 402b7a #402b7a
RGB Decimal 64, 43, 122 rgb(64,43,122)
RGB Percent 25.1, 16.9, 47.8 rgb(25.1%,16.9%,47.8%)
CMYK 48, 65, 0, 52
HSL 255.9°, 47.9, 32.4 hsl(255.9,47.9%,32.4%)
HSV (or HSB) 255.9°, 64.8, 47.8
Web Safe 333366 #333366
CIE-LAB 24.395, 30.254, -41.889
XYZ 6.49, 4.223, 18.884
xyY 0.219, 0.143, 4.223
CIE-LCH 24.395, 51.672, 305.839
CIE-LUV 24.395, 2.352, -53.236
Hunter-Lab 20.549, 20.417, -40.101
Binary 01000000, 00101011, 01111010

Color Schemes with #402b7a

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

Alternatives to #402b7a

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

Similar Colors

#402b7a Preview

Text with hexadecimal color #402b7a

This text has a font color of #402b7a.

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

This paragraph has a background color of #402b7a.

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

This element has a border color of #402b7a.

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

Shades and Tints of #402b7a

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

Shade Color Variation
Tint Color Variation

Tones of #402b7a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b7a 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
  • #3b3747 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004572 Deuteranopia 1% of men
  • #38464b Tritanopia 0.001% of the population
Trichromacy
  • #17397e Protanomaly 1% of men, 0.01% of women
  • #173b75 Deuteranomaly 6% of men, 0.4% of women
  • #3b3c5c Tritanomaly 0.01% of the population