In RGB color space, #5d21a6 hex color has a red value of 93, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #5d21a6 hex color is composed of 43.98% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#5d21a6 color has a hue of 267.1 degrees, a saturation of 66.83% and a lightness of 39%.
#5d21a6 hex color contains mainly BLUE.
The closest web safe color of #5d21a6 is #663399
#5d21a6 hex color has a decimal value of 6103462.
HEX | 5d21a6 | #5d21a6 |
---|---|---|
RGB | 93, 33, 166 | rgb(93, 33, 166) |
RGB Percent | 36.47, 12.94, 65.1 | rgb(36.47, 12.94, 65.1) |
CMYK | 44, 80, 0, 35 | |
HSL | 267.1°, 66.83, 39 | hsl(267.1, 66.83%, 39%) |
HSV | 267.1°, 80.1, 65.1 |
XYZ | 11.941, 6.168, 36.638 |
---|---|
Hunter Lab | 24.835, 42.362, -70.082 |
CIE-LAB | 29.832, 52.867, -60.087 |
CIE-LCH | 29.832, 80.034, 311.343 |
CIE-LUV | 43.98, 80.12, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5d21a6
CMYK percent of color #5d21a6
Text with hexadecimal color #5d21a6
This text has a font color of #5d21a6
<p style="color:#5d21a6">Text here</p>
#5d21a6 Background Color
This box has a background color of #5d21a6
<div style="background-color:#5d21a6">Text here</div>
#5d21a6 Border Color
This box has a border color of #5d21a6
<div style="border: 4px solid #5d21a6">Text here</div>
CSS codes
<p style="color:#5d21a6">Text here</p>
<div style="background-color:#5d21a6">Text here</div>
<div style="border: 4px solid #5d21a6">Text here</div>
#5d21a6 Color on white background
This is how a font and box color of #5d21a6 will look
on a white background.
#5d21a6 Color on black background
This is how a font and box color of #5d21a6 hex color will look
on a black background.