#402257 Color Information

In a RGB color space, hex #402257 is composed of 25.1% red, 13.3% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 26.4% cyan, 60.9% magenta, 0% yellow and 65.9% black. It has a hue angle of 274 degrees, a saturation of 43.8% and a lightness of 23.7%. #402257 color hex could be obtained by blending #8044ae with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 34
    RGB color chart
    • C 26
    • M 61
    • Y 0
    • K 66
    CMYK color chart

#402257 color description : Very dark violet.

#402257 Color Conversion

The hexadecimal color #402257 has RGB values of R:64, G:34, B:87 and CMYK values of C:0.26, M:0.61, Y:0, K:0.66. Its decimal value is 4203095.

Hex triplet 402257 #402257
RGB Decimal 64, 34, 87 rgb(64,34,87)
RGB Percent 25.1, 13.3, 34.1 rgb(25.1%,13.3%,34.1%)
CMYK 26, 61, 0, 66
HSL 274°, 43.8, 23.7 hsl(274,43.8%,23.7%)
HSV (or HSB) 274°, 60.9, 34.1
Web Safe 333366 #333366
CIE-LAB 19.73, 25.612, -26.628
XYZ 4.406, 2.922, 9.348
xyY 0.264, 0.175, 2.922
CIE-LCH 19.73, 36.946, 313.886
CIE-LUV 19.73, 8.518, -31.695
Hunter-Lab 17.095, 16.096, -20.457
Binary 01000000, 00100010, 01010111

Color Schemes with #402257

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

Alternatives to #402257

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

Similar Colors

#402257 Preview

Text with hexadecimal color #402257

This text has a font color of #402257.

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

This paragraph has a background color of #402257.

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

This element has a border color of #402257.

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

Shades and Tints of #402257

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

Shade Color Variation
Tint Color Variation

Tones of #402257

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402257 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
  • #313131 Achromatopsia 0.005% of the population
  • #342e39 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1b3869 Protanopia 1% of men
  • #243a5b Deuteranopia 1% of men
  • #42373b Tritanopia 0.001% of the population
Trichromacy
  • #283062 Protanomaly 1% of men, 0.01% of women
  • #2e3159 Deuteranomaly 6% of men, 0.4% of women
  • #412f45 Tritanomaly 0.01% of the population