#402f6c Color Information

In a RGB color space, hex #402f6c is composed of 25.1% red, 18.4% green and 42.4% blue. Whereas in a CMYK color space, it is composed of 40.7% cyan, 56.5% magenta, 0% yellow and 57.6% black. It has a hue angle of 256.7 degrees, a saturation of 39.4% and a lightness of 30.4%. #402f6c color hex could be obtained by blending #805ed8 with #000000. Closest websafe color is: #333366.

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

#402f6c color description : Very dark desaturated violet.

#402f6c Color Conversion

The hexadecimal color #402f6c has RGB values of R:64, G:47, B:108 and CMYK values of C:0.41, M:0.56, Y:0, K:0.58. Its decimal value is 4206444.

Hex triplet 402f6c #402f6c
RGB Decimal 64, 47, 108 rgb(64,47,108)
RGB Percent 25.1, 18.4, 42.4 rgb(25.1%,18.4%,42.4%)
CMYK 41, 56, 0, 58
HSL 256.7°, 39.4, 30.4 hsl(256.7,39.4%,30.4%)
HSV (or HSB) 256.7°, 56.5, 42.4
Web Safe 333366 #333366
CIE-LAB 24.34, 23.389, -33.027
XYZ 5.837, 4.206, 14.691
xyY 0.236, 0.17, 4.206
CIE-LCH 24.34, 40.47, 305.305
CIE-LUV 24.34, 2.783, -42.196
Hunter-Lab 20.508, 14.918, -28.117
Binary 01000000, 00101111, 01101100

Color Schemes with #402f6c

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

Alternatives to #402f6c

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

Similar Colors

#402f6c Preview

Text with hexadecimal color #402f6c

This text has a font color of #402f6c.

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

This paragraph has a background color of #402f6c.

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

This element has a border color of #402f6c.

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

Shades and Tints of #402f6c

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, #07050c is the darkest color, while #fefefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f6c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f6c 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
  • #3c3945 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1f427a Protanopia 1% of men
  • #1e446f Deuteranopia 1% of men
  • #3e454a Tritanopia 0.001% of the population
Trichromacy
  • #2b3b75 Protanomaly 1% of men, 0.01% of women
  • #2a3c6e Deuteranomaly 6% of men, 0.4% of women
  • #3e3d56 Tritanomaly 0.01% of the population