#5a42b4 hex color
In a RGB color space, hex #5a42b4 is composed of 35.3% red, 25.9% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 63.3% magenta, 0% yellow and 29.4% black. It has a hue angle of 252.6 degrees, a saturation of 46.3% and a lightness of 48.2%. #5a42b4 color hex could be obtained by blending #b484ff with #000069. Closest websafe color is: #6633cc.
-
- R 35
- G 26
- B 71
RGB color chart
-
- C 50
- M 63
- Y 0
- K 29
CMYK color chart
● #5a42b4 color description : Moderate blue.
The hexadecimal color #5a42b4 has RGB values of R:90, G:66, B:180 and CMYK values of C:0.5, M:0.63, Y:0, K:0.29. Its decimal value is 5915316.
Hex triplet | 5a42b4 | #5a42b4 |
---|---|---|
RGB Decimal | 90, 66, 180 | rgb(90,66,180) |
RGB Percent | 35.3, 25.9, 70.6 | rgb(35.3%,25.9%,70.6%) |
CMYK | 50, 63, 0, 29 | |
HSL | 252.6°, 46.3, 48.2 | hsl(252.6,46.3%,48.2%) |
HSV (or HSB) | 252.6°, 63.3, 70.6 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 36.678, 39.498, -57.293 |
---|---|
XYZ | 14.401, 9.365, 44.226 |
xyY | 0.212, 0.138, 9.365 |
CIE-LCH | 36.678, 69.589, 304.583 |
CIE-LUV | 36.678, 1.186, -83.55 |
Hunter-Lab | 30.602, 30.447, -64.264 |
Binary | 01011010, 01000010, 10110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a42b4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a42b4
This text has a font color of #5a42b4.
<span style="color:#5a42b4;">Text here</span>
#5a42b4 background color
This paragraph has a background color of #5a42b4.
<p style="background-color:#5a42b4;">Content here</p>
#5a42b4 border color
This element has a border color of #5a42b4.
<div style="border:1px solid #5a42b4;">Content here</div>
CSS codes
.text {color:#5a42b4;}
.background {background-color:#5a42b4;}
.border {border:1px solid #5a42b4;}
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, #040308 is the darkest color, while #f9f8fd is the lightest one.
-
#040308
#040308
rgb(4,3,8)
-
#0b0816
#0b0816
rgb(11,8,22)
-
#120d24
#120d24
rgb(18,13,36)
-
#191333
#191333
rgb(25,19,51)
-
#211841
#211841
rgb(33,24,65)
-
#281d50
#281d50
rgb(40,29,80)
-
#2f225e
#2f225e
rgb(47,34,94)
-
#36286c
#36286c
rgb(54,40,108)
-
#3d2d7b
#3d2d7b
rgb(61,45,123)
-
#443289
#443289
rgb(68,50,137)
-
#4c3797
#4c3797
rgb(76,55,151)
-
#533da6
#533da6
rgb(83,61,166)
-
#5a42b4
#5a42b4
rgb(90,66,180)
Shade Color Variation
-
#644cbd
#644cbd
rgb(100,76,189)
-
#705bc3
#705bc3
rgb(112,91,195)
-
#7d69c8
#7d69c8
rgb(125,105,200)
-
#8977cd
#8977cd
rgb(137,119,205)
-
#9686d2
#9686d2
rgb(150,134,210)
-
#a294d8
#a294d8
rgb(162,148,216)
-
#afa2dd
#afa2dd
rgb(175,162,221)
-
#bbb1e2
#bbb1e2
rgb(187,177,226)
-
#c8bfe8
#c8bfe8
rgb(200,191,232)
-
#d4cded
#d4cded
rgb(212,205,237)
-
#e0dcf2
#e0dcf2
rgb(224,220,242)
-
#edeaf7
#edeaf7
rgb(237,234,247)
-
#f9f8fd
#f9f8fd
rgb(249,248,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7b7b7b is the less saturated color, while #3909ed is the most saturated one.
-
#7b7b7b
#7b7b7b
rgb(123,123,123)
-
#757185
#757185
rgb(117,113,133)
-
#70688e
#70688e
rgb(112,104,142)
-
#6a5e98
#6a5e98
rgb(106,94,152)
-
#6555a1
#6555a1
rgb(101,85,161)
-
#5f4bab
#5f4bab
rgb(95,75,171)
-
#5a42b4
#5a42b4
rgb(90,66,180)
-
#5539bd
#5539bd
rgb(85,57,189)
-
#4f2fc7
#4f2fc7
rgb(79,47,199)
-
#4a26d0
#4a26d0
rgb(74,38,208)
-
#441cda
#441cda
rgb(68,28,218)
-
#3f13e3
#3f13e3
rgb(63,19,227)
-
#3909ed
#3909ed
rgb(57,9,237)
Tone Color Variation
Below, you can see how #5a42b4 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
Dichromacy