#402a6a Color Information

In a RGB color space, hex #402a6a is composed of 25.1% red, 16.5% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 60.4% magenta, 0% yellow and 58.4% black. It has a hue angle of 260.6 degrees, a saturation of 43.2% and a lightness of 29%. #402a6a color hex could be obtained by blending #8054d4 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 42
    RGB color chart
    • C 40
    • M 60
    • Y 0
    • K 58
    CMYK color chart

#402a6a color description : Very dark violet.

#402a6a Color Conversion

The hexadecimal color #402a6a has RGB values of R:64, G:42, B:106 and CMYK values of C:0.4, M:0.6, Y:0, K:0.58. Its decimal value is 4205162.

Hex triplet 402a6a #402a6a
RGB Decimal 64, 42, 106 rgb(64,42,106)
RGB Percent 25.1, 16.5, 41.6 rgb(25.1%,16.5%,41.6%)
CMYK 40, 60, 0, 58
HSL 260.6°, 43.2, 29 hsl(260.6,43.2%,29%)
HSV (or HSB) 260.6°, 60.4, 41.6
Web Safe 333366 #333366
CIE-LAB 22.953, 26.002, -33.962
XYZ 5.543, 3.787, 14.074
xyY 0.237, 0.162, 3.787
CIE-LCH 22.953, 42.773, 307.439
CIE-LUV 22.953, 4.243, -42.496
Hunter-Lab 19.459, 16.797, -29.26
Binary 01000000, 00101010, 01101010

Color Schemes with #402a6a

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

Alternatives to #402a6a

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

Similar Colors

#402a6a Preview

Text with hexadecimal color #402a6a

This text has a font color of #402a6a.

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

This paragraph has a background color of #402a6a.

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

This element has a border color of #402a6a.

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

Shades and Tints of #402a6a

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

Shade Color Variation
Tint Color Variation

Tones of #402a6a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a6a 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a3542 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0f3f7a Protanopia 1% of men
  • #14426c Deuteranopia 1% of men
  • #3e4146 Tritanopia 0.001% of the population
Trichromacy
  • #213774 Protanomaly 1% of men, 0.01% of women
  • #24396b Deuteranomaly 6% of men, 0.4% of women
  • #3e3853 Tritanomaly 0.01% of the population