#5a17a5 hex color
In a RGB color space, hex #5a17a5 is composed of 35.3% red, 9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 86.1% magenta, 0% yellow and 35.3% black. It has a hue angle of 268.3 degrees, a saturation of 75.5% and a lightness of 36.9%. #5a17a5 color hex could be obtained by blending #b42eff with #00004b. Closest websafe color is: #660099.
-
- R 35
- G 9
- B 65
RGB color chart
-
- C 45
- M 86
- Y 0
- K 35
CMYK color chart
● #5a17a5 color description : Dark violet.
The hexadecimal color #5a17a5 has RGB values of R:90, G:23, B:165 and CMYK values of C:0.45, M:0.86, Y:0, K:0.35. Its decimal value is 5904293.
Hex triplet | 5a17a5 | #5a17a5 |
---|---|---|
RGB Decimal | 90, 23, 165 | rgb(90,23,165) |
RGB Percent | 35.3, 9, 64.7 | rgb(35.3%,9%,64.7%) |
CMYK | 45, 86, 0, 35 | |
HSL | 268.3°, 75.5, 36.9 | hsl(268.3,75.5%,36.9%) |
HSV (or HSB) | 268.3°, 86.1, 64.7 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 28.122, 55.771, -62.302 |
---|---|
XYZ | 11.313, 5.503, 36.061 |
xyY | 0.214, 0.104, 5.503 |
CIE-LCH | 28.122, 83.617, 311.834 |
CIE-LUV | 28.122, 9.555, -81.601 |
Hunter-Lab | 23.459, 45.032, -74.722 |
Binary | 01011010, 00010111, 10100101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a17a5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a17a5
This text has a font color of #5a17a5.
<span style="color:#5a17a5;">Text here</span>
#5a17a5 background color
This paragraph has a background color of #5a17a5.
<p style="background-color:#5a17a5;">Content here</p>
#5a17a5 border color
This element has a border color of #5a17a5.
<div style="border:1px solid #5a17a5;">Content here</div>
CSS codes
.text {color:#5a17a5;}
.background {background-color:#5a17a5;}
.border {border:1px solid #5a17a5;}
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, #05010a is the darkest color, while #fbf8fe is the lightest one.
-
#05010a
#05010a
rgb(5,1,10)
-
#0f041b
#0f041b
rgb(15,4,27)
-
#18062c
#18062c
rgb(24,6,44)
-
#22093e
#22093e
rgb(34,9,62)
-
#2b0b4f
#2b0b4f
rgb(43,11,79)
-
#340d60
#340d60
rgb(52,13,96)
-
#3e1071
#3e1071
rgb(62,16,113)
-
#471283
#471283
rgb(71,18,131)
-
#511594
#511594
rgb(81,21,148)
-
#5a17a5
#5a17a5
rgb(90,23,165)
-
#6319b6
#6319b6
rgb(99,25,182)
-
#6d1cc7
#6d1cc7
rgb(109,28,199)
-
#761ed9
#761ed9
rgb(118,30,217)
Shade Color Variation
-
#8029e1
#8029e1
rgb(128,41,225)
-
#8a3ae4
#8a3ae4
rgb(138,58,228)
-
#944ce6
#944ce6
rgb(148,76,230)
-
#9f5de8
#9f5de8
rgb(159,93,232)
-
#a96eeb
#a96eeb
rgb(169,110,235)
-
#b37fed
#b37fed
rgb(179,127,237)
-
#bd91f0
#bd91f0
rgb(189,145,240)
-
#c8a2f2
#c8a2f2
rgb(200,162,242)
-
#d2b3f4
#d2b3f4
rgb(210,179,244)
-
#dcc4f7
#dcc4f7
rgb(220,196,247)
-
#e6d5f9
#e6d5f9
rgb(230,213,249)
-
#f1e7fc
#f1e7fc
rgb(241,231,252)
-
#fbf8fe
#fbf8fe
rgb(251,248,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5e5864 is the less saturated color, while #5901bb is the most saturated one.
-
#5e5864
#5e5864
rgb(94,88,100)
-
#5d516b
#5d516b
rgb(93,81,107)
-
#5d4a72
#5d4a72
rgb(93,74,114)
-
#5c427a
#5c427a
rgb(92,66,122)
-
#5c3b81
#5c3b81
rgb(92,59,129)
-
#5c3488
#5c3488
rgb(92,52,136)
-
#5b2d8f
#5b2d8f
rgb(91,45,143)
-
#5b2597
#5b2597
rgb(91,37,151)
-
#5a1e9e
#5a1e9e
rgb(90,30,158)
-
#5a17a5
#5a17a5
rgb(90,23,165)
-
#5a10ac
#5a10ac
rgb(90,16,172)
-
#5909b3
#5909b3
rgb(89,9,179)
-
#5901bb
#5901bb
rgb(89,1,187)
Tone Color Variation
Below, you can see how #5a17a5 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