In RGB color space, #5d21a8 hex color has a red value of 93, a green value of 33 and a blue value of 168.
In CMYK color space (used in color printing), #5d21a8 hex color is composed of 44.64% cyan, 80.36% magenta, 0% yellow and 34.12% black.
#5d21a8 color has a hue of 266.7 degrees, a saturation of 67.16% and a lightness of 39.4%.
#5d21a8 hex color contains mainly BLUE.
The closest web safe color of #5d21a8 is #663399
#5d21a8 hex color has a decimal value of 6103464.
HEX | 5d21a8 | #5d21a8 |
---|---|---|
RGB | 93, 33, 168 | rgb(93, 33, 168) |
RGB Percent | 36.47, 12.94, 65.88 | rgb(36.47, 12.94, 65.88) |
CMYK | 45, 80, 0, 34 | |
HSL | 266.7°, 67.16, 39.4 | hsl(266.7, 67.16%, 39.4%) |
HSV | 266.7°, 80.4, 65.9 |
XYZ | 12.126, 6.242, 37.612 |
---|---|
Hunter Lab | 24.984, 42.913, -71.769 |
CIE-LAB | 30.015, 53.367, -60.994 |
CIE-LCH | 30.015, 81.045, 311.184 |
CIE-LUV | 44.64, 80.36, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5d21a8
CMYK percent of color #5d21a8
Text with hexadecimal color #5d21a8
This text has a font color of #5d21a8
<p style="color:#5d21a8">Text here</p>
#5d21a8 Background Color
This box has a background color of #5d21a8
<div style="background-color:#5d21a8">Text here</div>
#5d21a8 Border Color
This box has a border color of #5d21a8
<div style="border: 4px solid #5d21a8">Text here</div>
CSS codes
<p style="color:#5d21a8">Text here</p>
<div style="background-color:#5d21a8">Text here</div>
<div style="border: 4px solid #5d21a8">Text here</div>
#5d21a8 Color on white background
This is how a font and box color of #5d21a8 will look
on a white background.
#5d21a8 Color on black background
This is how a font and box color of #5d21a8 hex color will look
on a black background.