#402f5b Color Information

In a RGB color space, hex #402f5b is composed of 25.1% red, 18.4% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 48.4% magenta, 0% yellow and 64.3% black. It has a hue angle of 263.2 degrees, a saturation of 31.9% and a lightness of 27.1%. #402f5b color hex could be obtained by blending #805eb6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 36
    RGB color chart
    • C 30
    • M 48
    • Y 0
    • K 64
    CMYK color chart

#402f5b color description : Very dark desaturated violet.

#402f5b Color Conversion

The hexadecimal color #402f5b has RGB values of R:64, G:47, B:91 and CMYK values of C:0.3, M:0.48, Y:0, K:0.64. Its decimal value is 4206427.

Hex triplet 402f5b #402f5b
RGB Decimal 64, 47, 91 rgb(64,47,91)
RGB Percent 25.1, 18.4, 35.7 rgb(25.1%,18.4%,35.7%)
CMYK 30, 48, 0, 64
HSL 263.2°, 31.9, 27.1 hsl(263.2,31.9%,27.1%)
HSV (or HSB) 263.2°, 48.4, 35.7
Web Safe 333366 #333366
CIE-LAB 23.265, 18.336, -23.669
XYZ 5.019, 3.878, 10.381
xyY 0.26, 0.201, 3.878
CIE-LCH 23.265, 29.941, 307.765
CIE-LUV 23.265, 4.526, -29.741
Hunter-Lab 19.694, 11.027, -17.468
Binary 01000000, 00101111, 01011011

Color Schemes with #402f5b

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

Alternatives to #402f5b

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

Similar Colors

#402f5b Preview

Text with hexadecimal color #402f5b

This text has a font color of #402f5b.

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

This paragraph has a background color of #402f5b.

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

This element has a border color of #402f5b.

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

Shades and Tints of #402f5b

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

Shade Color Variation
Tint Color Variation

Tones of #402f5b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f5b 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
  • #393939 Achromatopsia 0.005% of the population
  • #3a3740 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2f4068 Protanopia 1% of men
  • #314160 Deuteranopia 1% of men
  • #434145 Tritanopia 0.001% of the population
Trichromacy
  • #353a63 Protanomaly 1% of men, 0.01% of women
  • #363a5e Deuteranomaly 6% of men, 0.4% of women
  • #423a4d Tritanomaly 0.01% of the population