#402a7c Color Information

In a RGB color space, hex #402a7c is composed of 25.1% red, 16.5% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 48.4% cyan, 66.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 256.1 degrees, a saturation of 49.4% and a lightness of 32.5%. #402a7c color hex could be obtained by blending #8054f8 with #000000. Closest websafe color is: #333366.

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

#402a7c color description : Dark moderate violet.

#402a7c Color Conversion

The hexadecimal color #402a7c has RGB values of R:64, G:42, B:124 and CMYK values of C:0.48, M:0.66, Y:0, K:0.51. Its decimal value is 4205180.

Hex triplet 402a7c #402a7c
RGB Decimal 64, 42, 124 rgb(64,42,124)
RGB Percent 25.1, 16.5, 48.6 rgb(25.1%,16.5%,48.6%)
CMYK 48, 66, 0, 51
HSL 256.1°, 49.4, 32.5 hsl(256.1,49.4%,32.5%)
HSV (or HSB) 256.1°, 66.1, 48.6
Web Safe 333366 #333366
CIE-LAB 24.325, 31.486, -43.269
XYZ 6.58, 4.201, 19.532
xyY 0.217, 0.139, 4.201
CIE-LCH 24.325, 53.513, 306.043
CIE-LUV 24.325, 2.363, -54.831
Hunter-Lab 20.496, 21.433, -42.152
Binary 01000000, 00101010, 01111100

Color Schemes with #402a7c

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

Alternatives to #402a7c

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

Similar Colors

#402a7c Preview

Text with hexadecimal color #402a7c

This text has a font color of #402a7c.

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

This paragraph has a background color of #402a7c.

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

This element has a border color of #402a7c.

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

Shades and Tints of #402a7c

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

Shade Color Variation
Tint Color Variation

Tones of #402a7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a7c 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
  • #004571 Deuteranopia 1% of men
  • #37464b Tritanopia 0.001% of the population
Trichromacy
  • #17397f Protanomaly 1% of men, 0.01% of women
  • #173b75 Deuteranomaly 6% of men, 0.4% of women
  • #3a3c5d Tritanomaly 0.01% of the population