#402a5a Color Information
In a RGB color space, hex #402a5a is composed of 25.1% red, 16.5% green and 35.3% blue. Whereas in a CMYK color space, it is composed of 28.9% cyan, 53.3% magenta, 0% yellow and 64.7% black. It has a hue angle of 267.5 degrees, a saturation of 36.4% and a lightness of 25.9%. #402a5a color hex could be obtained by blending #8054b4 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 35
-
- C 29
- M 53
- Y 0
- K 65
● #402a5a color description : Very dark desaturated violet.
#402a5a Color Conversion
The hexadecimal color #402a5a has RGB values of R:64, G:42, B:90 and CMYK values of C:0.29, M:0.53, Y:0, K:0.65. Its decimal value is 4205146.
Hex triplet | 402a5a | #402a5a |
---|---|---|
RGB Decimal | 64, 42, 90 | rgb(64,42,90) |
RGB Percent | 25.1, 16.5, 35.3 | rgb(25.1%,16.5%,35.3%) |
CMYK | 29, 53, 0, 65 | |
HSL | 267.5°, 36.4, 25.9 | hsl(267.5,36.4%,25.9%) |
HSV (or HSB) | 267.5°, 53.3, 35.3 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 21.887, 21.348, -25.191 |
---|---|
XYZ | 4.787, 3.484, 10.093 |
xyY | 0.261, 0.19, 3.484 |
CIE-LCH | 21.887, 33.02, 310.281 |
CIE-LUV | 21.887, 6.103, -31.088 |
Hunter-Lab | 18.666, 13.117, -18.992 |
Binary | 01000000, 00101010, 01011010 |
Color Schemes with #402a5a
Alternatives to #402a5a
Below, you can see some colors close to #402a5a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a5a Preview
This text has a font color of #402a5a.
<span style="color:#402a5a;">Text here</span>
This paragraph has a background color of #402a5a.
<p style="background-color:#402a5a;">Content here</p>
This element has a border color of #402a5a.
<div style="border:1px solid #402a5a;">Content here</div>
.text {color:#402a5a;}
.background {background-color:#402a5a;}
.border {border:1px solid #402a5a;}
Shades and Tints of #402a5a
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, #07050a is the darkest color, while #fcfbfd is the lightest one.
-
#07050a
#07050a
rgb(7,5,10)
-
#100b17
#100b17
rgb(16,11,23)
-
#1a1125
#1a1125
rgb(26,17,37)
-
#231732
#231732
rgb(35,23,50)
-
#2d1e3f
#2d1e3f
rgb(45,30,63)
-
#36244d
#36244d
rgb(54,36,77)
-
#402a5a
#402a5a
rgb(64,42,90)
-
#4a3067
#4a3067
rgb(74,48,103)
-
#533675
#533675
rgb(83,54,117)
-
#5d3d82
#5d3d82
rgb(93,61,130)
-
#66438f
#66438f
rgb(102,67,143)
-
#70499d
#70499d
rgb(112,73,157)
-
#794faa
#794faa
rgb(121,79,170)
-
#835bb2
#835bb2
rgb(131,91,178)
-
#8d68b9
#8d68b9
rgb(141,104,185)
-
#9776bf
#9776bf
rgb(151,118,191)
-
#a183c5
#a183c5
rgb(161,131,197)
-
#ab90cb
#ab90cb
rgb(171,144,203)
-
#b69ed2
#b69ed2
rgb(182,158,210)
-
#c0abd8
#c0abd8
rgb(192,171,216)
-
#cab9de
#cab9de
rgb(202,185,222)
-
#d4c6e4
#d4c6e4
rgb(212,198,228)
-
#ded3eb
#ded3eb
rgb(222,211,235)
-
#e8e1f1
#e8e1f1
rgb(232,225,241)
-
#f2eef7
#f2eef7
rgb(242,238,247)
-
#fcfbfd
#fcfbfd
rgb(252,251,253)
Tones of #402a5a
A tone is produced by adding gray to any pure hue. In this case, #423e46 is the less saturated color, while #3d0183 is the most saturated one.
-
#423e46
#423e46
rgb(66,62,70)
-
#41394b
#41394b
rgb(65,57,75)
-
#413450
#413450
rgb(65,52,80)
-
#402f55
#402f55
rgb(64,47,85)
-
#402a5a
#402a5a
rgb(64,42,90)
-
#40255f
#40255f
rgb(64,37,95)
-
#3f2064
#3f2064
rgb(63,32,100)
-
#3f1b69
#3f1b69
rgb(63,27,105)
-
#3e166e
#3e166e
rgb(62,22,110)
-
#3e1173
#3e1173
rgb(62,17,115)
-
#3d0c78
#3d0c78
rgb(61,12,120)
-
#3d067e
#3d067e
rgb(61,6,126)
-
#3d0183
#3d0183
rgb(61,1,131)
Color Blindness Simulator
Below, you can see how #402a5a 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.