In RGB color space, #5c21a1 hex color has a red value of 92, a green value of 33 and a blue value of 161.
In CMYK color space (used in color printing), #5c21a1 hex color is composed of 42.86% cyan, 79.5% magenta, 0% yellow and 36.86% black.
#5c21a1 color has a hue of 267.7 degrees, a saturation of 65.98% and a lightness of 38%.
#5c21a1 hex color contains mainly BLUE.
The closest web safe color of #5c21a1 is #663399
#5c21a1 hex color has a decimal value of 6037921.
HEX | 5c21a1 | #5c21a1 |
---|---|---|
RGB | 92, 33, 161 | rgb(92, 33, 161) |
RGB Percent | 36.08, 12.94, 63.14 | rgb(36.08, 12.94, 63.14) |
CMYK | 43, 80, 0, 37 | |
HSL | 267.7°, 65.98, 38 | hsl(267.7, 65.98%, 38%) |
HSV | 267.7°, 79.5, 63.1 |
XYZ | 11.391, 5.936, 34.264 |
---|---|
Hunter Lab | 24.364, 40.818, -66.327 |
CIE-LAB | 29.25, 51.471, -58.019 |
CIE-LCH | 29.25, 77.559, 311.578 |
CIE-LUV | 42.86, 79.5, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5c21a1
CMYK percent of color #5c21a1
Text with hexadecimal color #5c21a1
This text has a font color of #5c21a1
<p style="color:#5c21a1">Text here</p>
#5c21a1 Background Color
This box has a background color of #5c21a1
<div style="background-color:#5c21a1">Text here</div>
#5c21a1 Border Color
This box has a border color of #5c21a1
<div style="border: 4px solid #5c21a1">Text here</div>
CSS codes
<p style="color:#5c21a1">Text here</p>
<div style="background-color:#5c21a1">Text here</div>
<div style="border: 4px solid #5c21a1">Text here</div>
#5c21a1 Color on white background
This is how a font and box color of #5c21a1 will look
on a white background.
#5c21a1 Color on black background
This is how a font and box color of #5c21a1 hex color will look
on a black background.