#402157 Color Information
In a RGB color space, hex #402157 is composed of 25.1% red, 12.9% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 26.4% cyan, 62.1% magenta, 0% yellow and 65.9% black. It has a hue angle of 274.4 degrees, a saturation of 45% and a lightness of 23.5%. #402157 color hex could be obtained by blending #8042ae with #000000. Closest websafe color is: #333366.
-
- R 25
- G 13
- B 34
-
- C 26
- M 62
- Y 0
- K 66
● #402157 color description : Very dark violet.
#402157 Color Conversion
The hexadecimal color #402157 has RGB values of R:64, G:33, B:87 and CMYK values of C:0.26, M:0.62, Y:0, K:0.66. Its decimal value is 4202839.
Hex triplet | 402157 | #402157 |
---|---|---|
RGB Decimal | 64, 33, 87 | rgb(64,33,87) |
RGB Percent | 25.1, 12.9, 34.1 | rgb(25.1%,12.9%,34.1%) |
CMYK | 26, 62, 0, 66 | |
HSL | 274.4°, 45, 23.5 | hsl(274.4,45%,23.5%) |
HSV (or HSB) | 274.4°, 62.1, 34.1 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 19.499, 26.224, -26.997 |
---|---|
XYZ | 4.378, 2.866, 9.339 |
xyY | 0.264, 0.173, 2.866 |
CIE-LCH | 19.499, 37.637, 314.168 |
CIE-LUV | 19.499, 8.74, -31.984 |
Hunter-Lab | 16.929, 16.539, -20.857 |
Binary | 01000000, 00100001, 01010111 |
Color Schemes with #402157
Alternatives to #402157
Below, you can see some colors close to #402157. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402157 Preview
This text has a font color of #402157.
<span style="color:#402157;">Text here</span>
This paragraph has a background color of #402157.
<p style="background-color:#402157;">Content here</p>
This element has a border color of #402157.
<div style="border:1px solid #402157;">Content here</div>
.text {color:#402157;}
.background {background-color:#402157;}
.border {border:1px solid #402157;}
Shades and Tints of #402157
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, #010102 is the darkest color, while #f7f2fa is the lightest one.
-
#010102
#010102
rgb(1,1,2)
-
#0c0610
#0c0610
rgb(12,6,16)
-
#160b1e
#160b1e
rgb(22,11,30)
-
#21112c
#21112c
rgb(33,17,44)
-
#2b163b
#2b163b
rgb(43,22,59)
-
#361c49
#361c49
rgb(54,28,73)
-
#402157
#402157
rgb(64,33,87)
-
#4a2665
#4a2665
rgb(74,38,101)
-
#552c73
#552c73
rgb(85,44,115)
-
#5f3182
#5f3182
rgb(95,49,130)
-
#6a3790
#6a3790
rgb(106,55,144)
-
#743c9e
#743c9e
rgb(116,60,158)
-
#7f41ac
#7f41ac
rgb(127,65,172)
-
#8948ba
#8948ba
rgb(137,72,186)
-
#9256bf
#9256bf
rgb(146,86,191)
-
#9b64c4
#9b64c4
rgb(155,100,196)
-
#a572ca
#a572ca
rgb(165,114,202)
-
#ae81cf
#ae81cf
rgb(174,129,207)
-
#b78fd4
#b78fd4
rgb(183,143,212)
-
#c09dda
#c09dda
rgb(192,157,218)
-
#c9abdf
#c9abdf
rgb(201,171,223)
-
#d2bae5
#d2bae5
rgb(210,186,229)
-
#dbc8ea
#dbc8ea
rgb(219,200,234)
-
#e5d6ef
#e5d6ef
rgb(229,214,239)
-
#eee4f5
#eee4f5
rgb(238,228,245)
-
#f7f2fa
#f7f2fa
rgb(247,242,250)
Tones of #402157
A tone is produced by adding gray to any pure hue. In this case, #3d3840 is the less saturated color, while #450177 is the most saturated one.
-
#3d3840
#3d3840
rgb(61,56,64)
-
#3d3345
#3d3345
rgb(61,51,69)
-
#3e2f49
#3e2f49
rgb(62,47,73)
-
#3f2a4e
#3f2a4e
rgb(63,42,78)
-
#3f2652
#3f2652
rgb(63,38,82)
-
#402157
#402157
rgb(64,33,87)
-
#411c5c
#411c5c
rgb(65,28,92)
-
#411860
#411860
rgb(65,24,96)
-
#421365
#421365
rgb(66,19,101)
-
#430f69
#430f69
rgb(67,15,105)
-
#430a6e
#430a6e
rgb(67,10,110)
-
#440573
#440573
rgb(68,5,115)
-
#450177
#450177
rgb(69,1,119)
Color Blindness Simulator
Below, you can see how #402157 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.