#402a6c Color Information

In a RGB color space, hex #402a6c is composed of 25.1% red, 16.5% green and 42.4% blue. Whereas in a CMYK color space, it is composed of 40.7% cyan, 61.1% magenta, 0% yellow and 57.6% black. It has a hue angle of 260 degrees, a saturation of 44% and a lightness of 29.4%. #402a6c color hex could be obtained by blending #8054d8 with #000000. Closest websafe color is: #333366.

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

#402a6c color description : Very dark violet.

#402a6c Color Conversion

The hexadecimal color #402a6c has RGB values of R:64, G:42, B:108 and CMYK values of C:0.41, M:0.61, Y:0, K:0.58. Its decimal value is 4205164.

Hex triplet 402a6c #402a6c
RGB Decimal 64, 42, 108 rgb(64,42,108)
RGB Percent 25.1, 16.5, 42.4 rgb(25.1%,16.5%,42.4%)
CMYK 41, 61, 0, 58
HSL 260°, 44, 29.4 hsl(260,44%,29.4%)
HSV (or HSB) 260°, 61.1, 42.4
Web Safe 333366 #333366
CIE-LAB 23.097, 26.602, -35.025
XYZ 5.649, 3.829, 14.628
xyY 0.234, 0.159, 3.829
CIE-LCH 23.097, 43.982, 307.217
CIE-LUV 23.097, 4.023, -43.894
Hunter-Lab 19.567, 17.288, -30.628
Binary 01000000, 00101010, 01101100

Color Schemes with #402a6c

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

Alternatives to #402a6c

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

Similar Colors

#402a6c Preview

Text with hexadecimal color #402a6c

This text has a font color of #402a6c.

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

This paragraph has a background color of #402a6c.

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

This element has a border color of #402a6c.

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

Shades and Tints of #402a6c

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

Shade Color Variation
Tint Color Variation

Tones of #402a6c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a6c 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
  • #003f7c Protanopia 1% of men
  • #0c426e Deuteranopia 1% of men
  • #3d4246 Tritanopia 0.001% of the population
Trichromacy
  • #173776 Protanomaly 1% of men, 0.01% of women
  • #1f396d Deuteranomaly 6% of men, 0.4% of women
  • #3e3954 Tritanomaly 0.01% of the population