#5a21c6 hex color
In a RGB color space, hex #5a21c6 is composed of 35.3% red, 12.9% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 54.5% cyan, 83.3% magenta, 0% yellow and 22.4% black. It has a hue angle of 260.7 degrees, a saturation of 71.4% and a lightness of 45.3%. #5a21c6 color hex could be obtained by blending #b442ff with #00008d. Closest websafe color is: #6633cc.
-
- R 35
- G 13
- B 78
RGB color chart
-
- C 55
- M 83
- Y 0
- K 22
CMYK color chart
● #5a21c6 color description : Strong violet.
The hexadecimal color #5a21c6 has RGB values of R:90, G:33, B:198 and CMYK values of C:0.55, M:0.83, Y:0, K:0.22. Its decimal value is 5906886.
Hex triplet | 5a21c6 | #5a21c6 |
---|---|---|
RGB Decimal | 90, 33, 198 | rgb(90,33,198) |
RGB Percent | 35.3, 12.9, 77.6 | rgb(35.3%,12.9%,77.6%) |
CMYK | 55, 83, 0, 22 | |
HSL | 260.7°, 71.4, 45.3 | hsl(260.7,71.4%,45.3%) |
HSV (or HSB) | 260.7°, 83.3, 77.6 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 32.565, 60.578, -74.628 |
---|---|
XYZ | 14.952, 7.338, 54.052 |
xyY | 0.196, 0.096, 7.338 |
CIE-LCH | 32.565, 96.12, 309.068 |
CIE-LUV | 32.565, 4.408, -100.909 |
Hunter-Lab | 27.089, 51.114, -99.34 |
Binary | 01011010, 00100001, 11000110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a21c6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a21c6
This text has a font color of #5a21c6.
<span style="color:#5a21c6;">Text here</span>
#5a21c6 background color
This paragraph has a background color of #5a21c6.
<p style="background-color:#5a21c6;">Content here</p>
#5a21c6 border color
This element has a border color of #5a21c6.
<div style="border:1px solid #5a21c6;">Content here</div>
CSS codes
.text {color:#5a21c6;}
.background {background-color:#5a21c6;}
.border {border:1px solid #5a21c6;}
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, #06020d is the darkest color, while #fcfbfe is the lightest one.
-
#06020d
#06020d
rgb(6,2,13)
-
#0e051e
#0e051e
rgb(14,5,30)
-
#15082f
#15082f
rgb(21,8,47)
-
#1d0b3f
#1d0b3f
rgb(29,11,63)
-
#250d50
#250d50
rgb(37,13,80)
-
#2c1061
#2c1061
rgb(44,16,97)
-
#341372
#341372
rgb(52,19,114)
-
#3b1683
#3b1683
rgb(59,22,131)
-
#431994
#431994
rgb(67,25,148)
-
#4b1ba4
#4b1ba4
rgb(75,27,164)
-
#521eb5
#521eb5
rgb(82,30,181)
-
#5a21c6
#5a21c6
rgb(90,33,198)
-
#6224d7
#6224d7
rgb(98,36,215)
Shade Color Variation
-
#6d31dd
#6d31dd
rgb(109,49,221)
-
#7942e0
#7942e0
rgb(121,66,224)
-
#8553e2
#8553e2
rgb(133,83,226)
-
#9164e5
#9164e5
rgb(145,100,229)
-
#9d75e8
#9d75e8
rgb(157,117,232)
-
#a986eb
#a986eb
rgb(169,134,235)
-
#b496ee
#b496ee
rgb(180,150,238)
-
#c0a7f0
#c0a7f0
rgb(192,167,240)
-
#ccb8f3
#ccb8f3
rgb(204,184,243)
-
#d8c9f6
#d8c9f6
rgb(216,201,246)
-
#e4daf9
#e4daf9
rgb(228,218,249)
-
#f0eafc
#f0eafc
rgb(240,234,252)
-
#fcfbfe
#fcfbfe
rgb(252,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #737176 is the less saturated color, while #5206e1 is the most saturated one.
-
#737176
#737176
rgb(115,113,118)
-
#70687f
#70687f
rgb(112,104,127)
-
#6d5f88
#6d5f88
rgb(109,95,136)
-
#6a5691
#6a5691
rgb(106,86,145)
-
#684d9a
#684d9a
rgb(104,77,154)
-
#6545a2
#6545a2
rgb(101,69,162)
-
#623cab
#623cab
rgb(98,60,171)
-
#5f33b4
#5f33b4
rgb(95,51,180)
-
#5d2abd
#5d2abd
rgb(93,42,189)
-
#5a21c6
#5a21c6
rgb(90,33,198)
-
#5718cf
#5718cf
rgb(87,24,207)
-
#550fd8
#550fd8
rgb(85,15,216)
-
#5206e1
#5206e1
rgb(82,6,225)
Tone Color Variation
Below, you can see how #5a21c6 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