#5a21d2 hex color
In a RGB color space, hex #5a21d2 is composed of 35.3% red, 12.9% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 57.1% cyan, 84.3% magenta, 0% yellow and 17.6% black. It has a hue angle of 259.3 degrees, a saturation of 72.8% and a lightness of 47.6%. #5a21d2 color hex could be obtained by blending #b442ff with #0000a5. Closest websafe color is: #6633cc.
-
- R 35
- G 13
- B 82
RGB color chart
-
- C 57
- M 84
- Y 0
- K 18
CMYK color chart
● #5a21d2 color description : Strong violet.
The hexadecimal color #5a21d2 has RGB values of R:90, G:33, B:210 and CMYK values of C:0.57, M:0.84, Y:0, K:0.18. Its decimal value is 5906898.
Hex triplet | 5a21d2 | #5a21d2 |
---|---|---|
RGB Decimal | 90, 33, 210 | rgb(90,33,210) |
RGB Percent | 35.3, 12.9, 82.4 | rgb(35.3%,12.9%,82.4%) |
CMYK | 57, 84, 0, 18 | |
HSL | 259.3°, 72.8, 47.6 | hsl(259.3,72.8%,47.6%) |
HSV (or HSB) | 259.3°, 84.3, 82.4 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 33.803, 63.639, -79.575 |
---|---|
XYZ | 16.391, 7.914, 61.633 |
xyY | 0.191, 0.092, 7.914 |
CIE-LCH | 33.803, 101.892, 308.65 |
CIE-LUV | 33.803, 3.097, -107.995 |
Hunter-Lab | 28.132, 54.772, -110.203 |
Binary | 01011010, 00100001, 11010010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a21d2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a21d2
This text has a font color of #5a21d2.
<span style="color:#5a21d2;">Text here</span>
#5a21d2 background color
This paragraph has a background color of #5a21d2.
<p style="background-color:#5a21d2;">Content here</p>
#5a21d2 border color
This element has a border color of #5a21d2.
<div style="border:1px solid #5a21d2;">Content here</div>
CSS codes
.text {color:#5a21d2;}
.background {background-color:#5a21d2;}
.border {border:1px solid #5a21d2;}
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, #030107 is the darkest color, while #f7f5fd is the lightest one.
-
#030107
#030107
rgb(3,1,7)
-
#0a0418
#0a0418
rgb(10,4,24)
-
#110628
#110628
rgb(17,6,40)
-
#190939
#190939
rgb(25,9,57)
-
#200c4a
#200c4a
rgb(32,12,74)
-
#270e5b
#270e5b
rgb(39,14,91)
-
#2e116c
#2e116c
rgb(46,17,108)
-
#36147d
#36147d
rgb(54,20,125)
-
#3d168e
#3d168e
rgb(61,22,142)
-
#44199f
#44199f
rgb(68,25,159)
-
#4b1cb0
#4b1cb0
rgb(75,28,176)
-
#531ec1
#531ec1
rgb(83,30,193)
-
#5a21d2
#5a21d2
rgb(90,33,210)
Shade Color Variation
-
#6329dd
#6329dd
rgb(99,41,221)
-
#703ae0
#703ae0
rgb(112,58,224)
-
#7c4be3
#7c4be3
rgb(124,75,227)
-
#885ce5
#885ce5
rgb(136,92,229)
-
#956de8
#956de8
rgb(149,109,232)
-
#a17eeb
#a17eeb
rgb(161,126,235)
-
#ad8fed
#ad8fed
rgb(173,143,237)
-
#baa0f0
#baa0f0
rgb(186,160,240)
-
#c6b1f3
#c6b1f3
rgb(198,177,243)
-
#d2c2f5
#d2c2f5
rgb(210,194,245)
-
#dfd3f8
#dfd3f8
rgb(223,211,248)
-
#ebe4fb
#ebe4fb
rgb(235,228,251)
-
#f7f5fd
#f7f5fd
rgb(247,245,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #78757e is the less saturated color, while #5005ee is the most saturated one.
-
#78757e
#78757e
rgb(120,117,126)
-
#756c87
#756c87
rgb(117,108,135)
-
#716291
#716291
rgb(113,98,145)
-
#6e599a
#6e599a
rgb(110,89,154)
-
#6b50a3
#6b50a3
rgb(107,80,163)
-
#6746ad
#6746ad
rgb(103,70,173)
-
#643db6
#643db6
rgb(100,61,182)
-
#6134bf
#6134bf
rgb(97,52,191)
-
#5d2ac9
#5d2ac9
rgb(93,42,201)
-
#5a21d2
#5a21d2
rgb(90,33,210)
-
#5718db
#5718db
rgb(87,24,219)
-
#530ee5
#530ee5
rgb(83,14,229)
-
#5005ee
#5005ee
rgb(80,5,238)
Tone Color Variation
Below, you can see how #5a21d2 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