#5a42a9 hex color
In a RGB color space, hex #5a42a9 is composed of 35.3% red, 25.9% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 60.9% magenta, 0% yellow and 33.7% black. It has a hue angle of 254 degrees, a saturation of 43.8% and a lightness of 46.1%. #5a42a9 color hex could be obtained by blending #b484ff with #000053. Closest websafe color is: #663399.
-
- R 35
- G 26
- B 66
RGB color chart
-
- C 47
- M 61
- Y 0
- K 34
CMYK color chart
● #5a42a9 color description : Dark moderate blue.
The hexadecimal color #5a42a9 has RGB values of R:90, G:66, B:169 and CMYK values of C:0.47, M:0.61, Y:0, K:0.34. Its decimal value is 5915305.
Hex triplet | 5a42a9 | #5a42a9 |
---|---|---|
RGB Decimal | 90, 66, 169 | rgb(90,66,169) |
RGB Percent | 35.3, 25.9, 66.3 | rgb(35.3%,25.9%,66.3%) |
CMYK | 47, 61, 0, 34 | |
HSL | 254°, 43.8, 46.1 | hsl(254,43.8%,46.1%) |
HSV (or HSB) | 254°, 60.9, 66.3 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 35.858, 36.218, -52.085 |
---|---|
XYZ | 13.325, 8.934, 38.556 |
xyY | 0.219, 0.147, 8.934 |
CIE-LCH | 35.858, 63.44, 304.813 |
CIE-LUV | 35.858, 2.242, -75.8 |
Hunter-Lab | 29.891, 27.265, -55.556 |
Binary | 01011010, 01000010, 10101001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a42a9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a42a9
This text has a font color of #5a42a9.
<span style="color:#5a42a9;">Text here</span>
#5a42a9 background color
This paragraph has a background color of #5a42a9.
<p style="background-color:#5a42a9;">Content here</p>
#5a42a9 border color
This element has a border color of #5a42a9.
<div style="border:1px solid #5a42a9;">Content here</div>
CSS codes
.text {color:#5a42a9;}
.background {background-color:#5a42a9;}
.border {border:1px solid #5a42a9;}
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, #07050e is the darkest color, while #ffffff is the lightest one.
-
#07050e
#07050e
rgb(7,5,14)
-
#0f0b1c
#0f0b1c
rgb(15,11,28)
-
#16102a
#16102a
rgb(22,16,42)
-
#1e1638
#1e1638
rgb(30,22,56)
-
#251b46
#251b46
rgb(37,27,70)
-
#2d2154
#2d2154
rgb(45,33,84)
-
#342662
#342662
rgb(52,38,98)
-
#3c2c71
#3c2c71
rgb(60,44,113)
-
#43317f
#43317f
rgb(67,49,127)
-
#4b378d
#4b378d
rgb(75,55,141)
-
#523c9b
#523c9b
rgb(82,60,155)
-
#5a42a9
#5a42a9
rgb(90,66,169)
-
#6248b7
#6248b7
rgb(98,72,183)
Shade Color Variation
-
#6e55bd
#6e55bd
rgb(110,85,189)
-
#7a64c2
#7a64c2
rgb(122,100,194)
-
#8672c8
#8672c8
rgb(134,114,200)
-
#9280cd
#9280cd
rgb(146,128,205)
-
#9e8ed3
#9e8ed3
rgb(158,142,211)
-
#aa9cd8
#aa9cd8
rgb(170,156,216)
-
#b6aade
#b6aade
rgb(182,170,222)
-
#c2b8e3
#c2b8e3
rgb(194,184,227)
-
#cec6e9
#cec6e9
rgb(206,198,233)
-
#dad4ee
#dad4ee
rgb(218,212,238)
-
#e7e3f4
#e7e3f4
rgb(231,227,244)
-
#f3f1f9
#f3f1f9
rgb(243,241,249)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #726f7c is the less saturated color, while #3803e8 is the most saturated one.
-
#726f7c
#726f7c
rgb(114,111,124)
-
#6d6685
#6d6685
rgb(109,102,133)
-
#685d8e
#685d8e
rgb(104,93,142)
-
#645497
#645497
rgb(100,84,151)
-
#5f4ba0
#5f4ba0
rgb(95,75,160)
-
#5a42a9
#5a42a9
rgb(90,66,169)
-
#5539b2
#5539b2
rgb(85,57,178)
-
#5030bb
#5030bb
rgb(80,48,187)
-
#4c27c4
#4c27c4
rgb(76,39,196)
-
#471ecd
#471ecd
rgb(71,30,205)
-
#4215d6
#4215d6
rgb(66,21,214)
-
#3d0cdf
#3d0cdf
rgb(61,12,223)
-
#3803e8
#3803e8
rgb(56,3,232)
Tone Color Variation
Below, you can see how #5a42a9 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