#5a21d6 hex color
In a RGB color space, hex #5a21d6 is composed of 35.3% red, 12.9% green and 83.9% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 84.6% magenta, 0% yellow and 16.1% black. It has a hue angle of 258.9 degrees, a saturation of 73.3% and a lightness of 48.4%. #5a21d6 color hex could be obtained by blending #b442ff with #0000ad. Closest websafe color is: #6633cc.
-
- R 35
- G 13
- B 84
RGB color chart
-
- C 58
- M 85
- Y 0
- K 16
CMYK color chart
● #5a21d6 color description : Strong violet.
The hexadecimal color #5a21d6 has RGB values of R:90, G:33, B:214 and CMYK values of C:0.58, M:0.85, Y:0, K:0.16. Its decimal value is 5906902.
Hex triplet | 5a21d6 | #5a21d6 |
---|---|---|
RGB Decimal | 90, 33, 214 | rgb(90,33,214) |
RGB Percent | 35.3, 12.9, 83.9 | rgb(35.3%,12.9%,83.9%) |
CMYK | 58, 85, 0, 16 | |
HSL | 258.9°, 73.3, 48.4 | hsl(258.9,73.3%,48.4%) |
HSV (or HSB) | 258.9°, 84.6, 83.9 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 34.223, 64.656, -81.196 |
---|---|
XYZ | 16.896, 8.116, 64.291 |
xyY | 0.189, 0.091, 8.116 |
CIE-LCH | 34.223, 103.794, 308.53 |
CIE-LUV | 34.223, 2.681, -110.335 |
Hunter-Lab | 28.489, 56.008, -113.86 |
Binary | 01011010, 00100001, 11010110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a21d6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a21d6
This text has a font color of #5a21d6.
<span style="color:#5a21d6;">Text here</span>
#5a21d6 background color
This paragraph has a background color of #5a21d6.
<p style="background-color:#5a21d6;">Content here</p>
#5a21d6 border color
This element has a border color of #5a21d6.
<div style="border:1px solid #5a21d6;">Content here</div>
CSS codes
.text {color:#5a21d6;}
.background {background-color:#5a21d6;}
.border {border:1px solid #5a21d6;}
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, #04020a is the darkest color, while #faf8fe is the lightest one.
-
#04020a
#04020a
rgb(4,2,10)
-
#0b041b
#0b041b
rgb(11,4,27)
-
#13072c
#13072c
rgb(19,7,44)
-
#1a093d
#1a093d
rgb(26,9,61)
-
#210c4e
#210c4e
rgb(33,12,78)
-
#280f5f
#280f5f
rgb(40,15,95)
-
#2f1170
#2f1170
rgb(47,17,112)
-
#361481
#361481
rgb(54,20,129)
-
#3d1792
#3d1792
rgb(61,23,146)
-
#4519a3
#4519a3
rgb(69,25,163)
-
#4c1cb4
#4c1cb4
rgb(76,28,180)
-
#531ec5
#531ec5
rgb(83,30,197)
-
#5a21d6
#5a21d6
rgb(90,33,214)
Shade Color Variation
-
#642cde
#642cde
rgb(100,44,222)
-
#713de1
#713de1
rgb(113,61,225)
-
#7d4ee4
#7d4ee4
rgb(125,78,228)
-
#8a5fe6
#8a5fe6
rgb(138,95,230)
-
#9670e9
#9670e9
rgb(150,112,233)
-
#a381ec
#a381ec
rgb(163,129,236)
-
#af92ee
#af92ee
rgb(175,146,238)
-
#bca3f1
#bca3f1
rgb(188,163,241)
-
#c8b4f3
#c8b4f3
rgb(200,180,243)
-
#d5c5f6
#d5c5f6
rgb(213,197,246)
-
#e1d6f9
#e1d6f9
rgb(225,214,249)
-
#ede7fb
#ede7fb
rgb(237,231,251)
-
#faf8fe
#faf8fe
rgb(250,248,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7a7781 is the less saturated color, while #4f05f3 is the most saturated one.
-
#7a7781
#7a7781
rgb(122,119,129)
-
#766d8a
#766d8a
rgb(118,109,138)
-
#736494
#736494
rgb(115,100,148)
-
#6f5a9d
#6f5a9d
rgb(111,90,157)
-
#6c51a7
#6c51a7
rgb(108,81,167)
-
#6847b0
#6847b0
rgb(104,71,176)
-
#653eba
#653eba
rgb(101,62,186)
-
#6134c3
#6134c3
rgb(97,52,195)
-
#5e2bcd
#5e2bcd
rgb(94,43,205)
-
#5a21d6
#5a21d6
rgb(90,33,214)
-
#5618e0
#5618e0
rgb(86,24,224)
-
#530ee9
#530ee9
rgb(83,14,233)
-
#4f05f3
#4f05f3
rgb(79,5,243)
Tone Color Variation
Below, you can see how #5a21d6 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