#402158 Color Information
In a RGB color space, hex #402158 is composed of 25.1% red, 12.9% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 27.3% cyan, 62.5% magenta, 0% yellow and 65.5% black. It has a hue angle of 273.8 degrees, a saturation of 45.5% and a lightness of 23.7%. #402158 color hex could be obtained by blending #8042b0 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 13
- B 35
-
- C 27
- M 63
- Y 0
- K 65
● #402158 color description : Very dark violet.
#402158 Color Conversion
The hexadecimal color #402158 has RGB values of R:64, G:33, B:88 and CMYK values of C:0.27, M:0.63, Y:0, K:0.65. Its decimal value is 4202840.
| Hex triplet | 402158 | #402158 |
|---|---|---|
| RGB Decimal | 64, 33, 88 | rgb(64,33,88) |
| RGB Percent | 25.1, 12.9, 34.5 | rgb(25.1%,12.9%,34.5%) |
| CMYK | 27, 63, 0, 65 | |
| HSL | 273.8°, 45.5, 23.7 | hsl(273.8,45.5%,23.7%) |
| HSV (or HSB) | 273.8°, 62.5, 34.5 | |
| Web Safe | 333366 | #333366 |
| CIE-LAB | 19.566, 26.491, -27.557 |
|---|---|
| XYZ | 4.419, 2.882, 9.556 |
| xyY | 0.262, 0.171, 2.882 |
| CIE-LCH | 19.566, 38.225, 313.871 |
| CIE-LUV | 19.566, 8.593, -32.671 |
| Hunter-Lab | 16.978, 16.754, -21.486 |
| Binary | 01000000, 00100001, 01011000 |
Color Schemes with #402158
Alternatives to #402158
Below, you can see some colors close to #402158. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402158 Preview
This text has a font color of #402158.
<span style="color:#402158;">Text here</span>
This paragraph has a background color of #402158.
<p style="background-color:#402158;">Content here</p>
This element has a border color of #402158.
<div style="border:1px solid #402158;">Content here</div>
.text {color:#402158;}
.background {background-color:#402158;}
.border {border:1px solid #402158;}
Shades and Tints of #402158
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 #f7f3fb is the lightest one.
-
#020102
#020102rgb(2,1,2) -
#0c0611
#0c0611rgb(12,6,17) -
#160c1f
#160c1frgb(22,12,31) -
#21112d
#21112drgb(33,17,45) -
#2b163b
#2b163brgb(43,22,59) -
#361c4a
#361c4argb(54,28,74) -
#402158
#402158rgb(64,33,88) -
#4a2666
#4a2666rgb(74,38,102) -
#552c75
#552c75rgb(85,44,117) -
#5f3183
#5f3183rgb(95,49,131) -
#6a3691
#6a3691rgb(106,54,145) -
#743c9f
#743c9frgb(116,60,159) -
#7e41ae
#7e41aergb(126,65,174)
-
#8848ba
#8848bargb(136,72,186) -
#9256c0
#9256c0rgb(146,86,192) -
#9b64c5
#9b64c5rgb(155,100,197) -
#a473ca
#a473cargb(164,115,202) -
#ad81d0
#ad81d0rgb(173,129,208) -
#b78fd5
#b78fd5rgb(183,143,213) -
#c09eda
#c09edargb(192,158,218) -
#c9ace0
#c9ace0rgb(201,172,224) -
#d2bae5
#d2bae5rgb(210,186,229) -
#dcc8eb
#dcc8ebrgb(220,200,235) -
#e5d7f0
#e5d7f0rgb(229,215,240) -
#eee5f5
#eee5f5rgb(238,229,245) -
#f7f3fb
#f7f3fbrgb(247,243,251)
Tones of #402158
A tone is produced by adding gray to any pure hue. In this case, #3d3841 is the less saturated color, while #440079 is the most saturated one.
-
#3d3841
#3d3841rgb(61,56,65) -
#3e3445
#3e3445rgb(62,52,69) -
#3e2f4a
#3e2f4argb(62,47,74) -
#3f2a4f
#3f2a4frgb(63,42,79) -
#3f2653
#3f2653rgb(63,38,83) -
#402158
#402158rgb(64,33,88) -
#411c5d
#411c5drgb(65,28,93) -
#411861
#411861rgb(65,24,97) -
#421366
#421366rgb(66,19,102) -
#420e6b
#420e6brgb(66,14,107) -
#430a6f
#430a6frgb(67,10,111) -
#440574
#440574rgb(68,5,116) -
#440079
#440079rgb(68,0,121)
Color Blindness Simulator
Below, you can see how #402158 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.
