#402f6a Color Information

In a RGB color space, hex #402f6a is composed of 25.1% red, 18.4% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 55.7% magenta, 0% yellow and 58.4% black. It has a hue angle of 257.3 degrees, a saturation of 38.6% and a lightness of 30%. #402f6a color hex could be obtained by blending #805ed4 with #000000. Closest websafe color is: #333366.

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

#402f6a color description : Very dark desaturated violet.

#402f6a Color Conversion

The hexadecimal color #402f6a has RGB values of R:64, G:47, B:106 and CMYK values of C:0.4, M:0.56, Y:0, K:0.58. Its decimal value is 4206442.

Hex triplet 402f6a #402f6a
RGB Decimal 64, 47, 106 rgb(64,47,106)
RGB Percent 25.1, 18.4, 41.6 rgb(25.1%,18.4%,41.6%)
CMYK 40, 56, 0, 58
HSL 257.3°, 38.6, 30 hsl(257.3,38.6%,30%)
HSV (or HSB) 257.3°, 55.7, 41.6
Web Safe 333366 #333366
CIE-LAB 24.205, 22.778, -31.953
XYZ 5.732, 4.164, 14.137
xyY 0.239, 0.173, 4.164
CIE-LCH 24.205, 39.241, 305.484
CIE-LUV 24.205, 2.981, -40.753
Hunter-Lab 20.405, 14.434, -26.793
Binary 01000000, 00101111, 01101010

Color Schemes with #402f6a

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

Alternatives to #402f6a

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

Similar Colors

#402f6a Preview

Text with hexadecimal color #402f6a

This text has a font color of #402f6a.

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

This paragraph has a background color of #402f6a.

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

This element has a border color of #402f6a.

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

Shades and Tints of #402f6a

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

Shade Color Variation
Tint Color Variation

Tones of #402f6a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f6a 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
  • #3c3944 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #224278 Protanopia 1% of men
  • #21446d Deuteranopia 1% of men
  • #3e4449 Tritanopia 0.001% of the population
Trichromacy
  • #2d3b73 Protanomaly 1% of men, 0.01% of women
  • #2c3c6c Deuteranomaly 6% of men, 0.4% of women
  • #3f3c55 Tritanomaly 0.01% of the population