#402087 Color Information

In a RGB color space, hex #402087 is composed of 25.1% red, 12.5% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 76.3% magenta, 0% yellow and 47.1% black. It has a hue angle of 258.6 degrees, a saturation of 61.7% and a lightness of 32.7%. #402087 color hex could be obtained by blending #8040ff with #00000f. Closest websafe color is: #333399.

    • R 25
    • G 13
    • B 53
    RGB color chart
    • C 53
    • M 76
    • Y 0
    • K 47
    CMYK color chart

#402087 color description : Dark violet.

#402087 Color Conversion

The hexadecimal color #402087 has RGB values of R:64, G:32, B:135 and CMYK values of C:0.53, M:0.76, Y:0, K:0.47. Its decimal value is 4202631.

Hex triplet 402087 #402087
RGB Decimal 64, 32, 135 rgb(64,32,135)
RGB Percent 25.1, 12.5, 52.9 rgb(25.1%,12.5%,52.9%)
CMYK 53, 76, 0, 47
HSL 258.6°, 61.7, 32.7 hsl(258.6,61.7%,32.7%)
HSV (or HSB) 258.6°, 76.3, 52.9
Web Safe 333399 #333399
CIE-LAB 23.244, 40.46, -51.962
XYZ 7.003, 3.872, 23.299
xyY 0.205, 0.113, 3.872
CIE-LCH 23.244, 65.856, 307.906
CIE-LUV 23.244, 2.929, -63.504
Hunter-Lab 19.678, 29.091, -56.426
Binary 01000000, 00100000, 10000111

Color Schemes with #402087

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

Alternatives to #402087

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

Similar Colors

#402087 Preview

Text with hexadecimal color #402087

This text has a font color of #402087.

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

This paragraph has a background color of #402087.

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

This element has a border color of #402087.

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

Shades and Tints of #402087

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

Shade Color Variation
Tint Color Variation

Tones of #402087

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402087 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
  • #353535 Achromatopsia 0.005% of the population
  • #373145 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7c Protanopia 1% of men
  • #00436c Deuteranopia 1% of men
  • #2f454a Tritanopia 0.001% of the population
Trichromacy
  • #173480 Protanomaly 1% of men, 0.01% of women
  • #173676 Deuteranomaly 6% of men, 0.4% of women
  • #353760 Tritanomaly 0.01% of the population