#5a21a8 Color Information
In a RGB color space, hex #5a21a8 is composed of 35.3% red, 12.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 46.4% cyan, 80.4% magenta, 0% yellow and 34.1% black. It has a hue angle of 265.3 degrees, a saturation of 67.2% and a lightness of 39.4%. #5a21a8 color hex could be obtained by blending #b442ff with #000051. Closest websafe color is: #663399.
-
- R 35
- G 13
- B 66
-
- C 46
- M 80
- Y 0
- K 34
● #5a21a8 color description : Dark violet.
#5a21a8 Color Conversion
The hexadecimal color #5a21a8 has RGB values of R:90, G:33, B:168 and CMYK values of C:0.46, M:0.8, Y:0, K:0.34. Its decimal value is 5906856.
Hex triplet | 5a21a8 | #5a21a8 |
---|---|---|
RGB Decimal | 90, 33, 168 | rgb(90,33,168) |
RGB Percent | 35.3, 12.9, 65.9 | rgb(35.3%,12.9%,65.9%) |
CMYK | 46, 80, 0, 34 | |
HSL | 265.3°, 67.2, 39.4 | hsl(265.3,67.2%,39.4%) |
HSV (or HSB) | 265.3°, 80.4, 65.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 29.635, 52.921, -61.63 |
---|---|
XYZ | 11.827, 6.088, 37.596 |
xyY | 0.213, 0.11, 6.088 |
CIE-LCH | 29.635, 81.233, 310.652 |
CIE-LUV | 29.635, 8.182, -82.667 |
Hunter-Lab | 24.675, 42.377, -73.065 |
Binary | 01011010, 00100001, 10101000 |
Color Schemes with #5a21a8
Alternatives to #5a21a8
Below, you can see some colors close to #5a21a8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5a21a8 Preview
This text has a font color of #5a21a8.
<span style="color:#5a21a8;">Text here</span>
This paragraph has a background color of #5a21a8.
<p style="background-color:#5a21a8;">Content here</p>
This element has a border color of #5a21a8.
<div style="border:1px solid #5a21a8;">Content here</div>
.text {color:#5a21a8;}
.background {background-color:#5a21a8;}
.border {border:1px solid #5a21a8;}
Shades and Tints of #5a21a8
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, #020104 is the darkest color, while #f7f3fd is the lightest one.
-
#020104
#020104
rgb(2,1,4)
-
#0b0414
#0b0414
rgb(11,4,20)
-
#140725
#140725
rgb(20,7,37)
-
#1d0a35
#1d0a35
rgb(29,10,53)
-
#250e46
#250e46
rgb(37,14,70)
-
#2e1156
#2e1156
rgb(46,17,86)
-
#371466
#371466
rgb(55,20,102)
-
#401777
#401777
rgb(64,23,119)
-
#481b87
#481b87
rgb(72,27,135)
-
#511e98
#511e98
rgb(81,30,152)
-
#5a21a8
#5a21a8
rgb(90,33,168)
-
#6324b8
#6324b8
rgb(99,36,184)
-
#6c27c9
#6c27c9
rgb(108,39,201)
-
#752ed6
#752ed6
rgb(117,46,214)
-
#803ed9
#803ed9
rgb(128,62,217)
-
#8b4fdc
#8b4fdc
rgb(139,79,220)
-
#955fe0
#955fe0
rgb(149,95,224)
-
#a06fe3
#a06fe3
rgb(160,111,227)
-
#ab80e6
#ab80e6
rgb(171,128,230)
-
#b690e9
#b690e9
rgb(182,144,233)
-
#c1a1ec
#c1a1ec
rgb(193,161,236)
-
#ccb1f0
#ccb1f0
rgb(204,177,240)
-
#d6c1f3
#d6c1f3
rgb(214,193,243)
-
#e1d2f6
#e1d2f6
rgb(225,210,246)
-
#ece2f9
#ece2f9
rgb(236,226,249)
-
#f7f3fd
#f7f3fd
rgb(247,243,253)
Tones of #5a21a8
A tone is produced by adding gray to any pure hue. In this case, #645f6a is the less saturated color, while #5502c7 is the most saturated one.
-
#645f6a
#645f6a
rgb(100,95,106)
-
#625772
#625772
rgb(98,87,114)
-
#614f7a
#614f7a
rgb(97,79,122)
-
#604881
#604881
rgb(96,72,129)
-
#5f4089
#5f4089
rgb(95,64,137)
-
#5e3891
#5e3891
rgb(94,56,145)
-
#5c3099
#5c3099
rgb(92,48,153)
-
#5b29a0
#5b29a0
rgb(91,41,160)
-
#5a21a8
#5a21a8
rgb(90,33,168)
-
#5919b0
#5919b0
rgb(89,25,176)
-
#5812b7
#5812b7
rgb(88,18,183)
-
#560abf
#560abf
rgb(86,10,191)
-
#5502c7
#5502c7
rgb(85,2,199)
Color Blindness Simulator
Below, you can see how #5a21a8 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.