#5a42d0 hex color
In a RGB color space, hex #5a42d0 is composed of 35.3% red, 25.9% green and 81.6% blue. Whereas in a CMYK color space, it is composed of 56.7% cyan, 68.3% magenta, 0% yellow and 18.4% black. It has a hue angle of 250.1 degrees, a saturation of 60.2% and a lightness of 53.7%. #5a42d0 color hex could be obtained by blending #b484ff with #0000a1. Closest websafe color is: #6633cc.
-
- R 35
- G 26
- B 82
RGB color chart
-
- C 57
- M 68
- Y 0
- K 18
CMYK color chart
● #5a42d0 color description : Moderate blue.
The hexadecimal color #5a42d0 has RGB values of R:90, G:66, B:208 and CMYK values of C:0.57, M:0.68, Y:0, K:0.18. Its decimal value is 5915344.
Hex triplet | 5a42d0 | #5a42d0 |
---|---|---|
RGB Decimal | 90, 66, 208 | rgb(90,66,208) |
RGB Percent | 35.3, 25.9, 81.6 | rgb(35.3%,25.9%,81.6%) |
CMYK | 57, 68, 0, 18 | |
HSL | 250.1°, 60.2, 53.7 | hsl(250.1,60.2%,53.7%) |
HSV (or HSB) | 250.1°, 68.3, 81.6 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 38.939, 47.9, -69.969 |
---|---|
XYZ | 17.548, 10.624, 60.797 |
xyY | 0.197, 0.119, 10.624 |
CIE-LCH | 38.939, 84.794, 304.395 |
CIE-LUV | 38.939, -1.256, -102.367 |
Hunter-Lab | 32.594, 39.061, -87.777 |
Binary | 01011010, 01000010, 11010000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a42d0. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a42d0
This text has a font color of #5a42d0.
<span style="color:#5a42d0;">Text here</span>
#5a42d0 background color
This paragraph has a background color of #5a42d0.
<p style="background-color:#5a42d0;">Content here</p>
#5a42d0 border color
This element has a border color of #5a42d0.
<div style="border:1px solid #5a42d0;">Content here</div>
CSS codes
.text {color:#5a42d0;}
.background {background-color:#5a42d0;}
.border {border:1px solid #5a42d0;}
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, #06040f is the darkest color, while #ffffff is the lightest one.
-
#06040f
#06040f
rgb(6,4,15)
-
#0c081f
#0c081f
rgb(12,8,31)
-
#120c2f
#120c2f
rgb(18,12,47)
-
#17103e
#17103e
rgb(23,16,62)
-
#1d134e
#1d134e
rgb(29,19,78)
-
#23175e
#23175e
rgb(35,23,94)
-
#291b6d
#291b6d
rgb(41,27,109)
-
#2f1f7d
#2f1f7d
rgb(47,31,125)
-
#35238d
#35238d
rgb(53,35,141)
-
#3b279d
#3b279d
rgb(59,39,157)
-
#412bac
#412bac
rgb(65,43,172)
-
#472fbc
#472fbc
rgb(71,47,188)
-
#4d33cc
#4d33cc
rgb(77,51,204)
Shade Color Variation
-
#5a42d0
#5a42d0
rgb(90,66,208)
-
#6852d4
#6852d4
rgb(104,82,212)
-
#7561d8
#7561d8
rgb(117,97,216)
-
#8371dc
#8371dc
rgb(131,113,220)
-
#9181e0
#9181e0
rgb(145,129,224)
-
#9f91e4
#9f91e4
rgb(159,145,228)
-
#aca0e7
#aca0e7
rgb(172,160,231)
-
#bab0eb
#bab0eb
rgb(186,176,235)
-
#c8c0ef
#c8c0ef
rgb(200,192,239)
-
#d5cff3
#d5cff3
rgb(213,207,243)
-
#e3dff7
#e3dff7
rgb(227,223,247)
-
#f1effb
#f1effb
rgb(241,239,251)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #848290 is the less saturated color, while #3c15fd is the most saturated one.
-
#848290
#848290
rgb(132,130,144)
-
#7e789a
#7e789a
rgb(126,120,154)
-
#786fa3
#786fa3
rgb(120,111,163)
-
#7266ac
#7266ac
rgb(114,102,172)
-
#6c5db5
#6c5db5
rgb(108,93,181)
-
#6654be
#6654be
rgb(102,84,190)
-
#604bc7
#604bc7
rgb(96,75,199)
-
#5a42d0
#5a42d0
rgb(90,66,208)
-
#5439d9
#5439d9
rgb(84,57,217)
-
#4e30e2
#4e30e2
rgb(78,48,226)
-
#4827eb
#4827eb
rgb(72,39,235)
-
#421ef4
#421ef4
rgb(66,30,244)
-
#3c15fd
#3c15fd
rgb(60,21,253)
Tone Color Variation
Below, you can see how #5a42d0 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