In RGB color space, #5a21d4 hex color has a red value of 90, a green value of 33 and a blue value of 212.
In CMYK color space (used in color printing), #5a21d4 hex color is composed of 57.55% cyan, 84.43% magenta, 0% yellow and 16.86% black.
#5a21d4 color has a hue of 259.1 degrees, a saturation of 73.06% and a lightness of 48%.
#5a21d4 hex color contains mainly BLUE.
The closest web safe color of #5a21d4 is #6633cc
#5a21d4 hex color has a decimal value of 5906900.
HEX | 5a21d4 | #5a21d4 |
---|---|---|
RGB | 90, 33, 212 | rgb(90, 33, 212) |
RGB Percent | 35.29, 12.94, 83.14 | rgb(35.29, 12.94, 83.14) |
CMYK | 58, 84, 0, 17 | |
HSL | 259.1°, 73.06, 48 | hsl(259.1, 73.06%, 48%) |
HSV | 259.1°, 84.4, 83.1 |
XYZ | 16.644, 8.015, 62.957 |
---|---|
Hunter Lab | 28.311, 55.397, -112.031 |
CIE-LAB | 34.014, 64.155, -80.388 |
CIE-LCH | 34.014, 102.85, 308.592 |
CIE-LUV | 57.55, 84.43, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #5a21d4
CMYK percent of color #5a21d4
Text with hexadecimal color #5a21d4
This text has a font color of #5a21d4
<p style="color:#5a21d4">Text here</p>
#5a21d4 Background Color
This box has a background color of #5a21d4
<div style="background-color:#5a21d4">Text here</div>
#5a21d4 Border Color
This box has a border color of #5a21d4
<div style="border: 4px solid #5a21d4">Text here</div>
CSS codes
<p style="color:#5a21d4">Text here</p>
<div style="background-color:#5a21d4">Text here</div>
<div style="border: 4px solid #5a21d4">Text here</div>
#5a21d4 Color on white background
This is how a font and box color of #5a21d4 will look
on a white background.
#5a21d4 Color on black background
This is how a font and box color of #5a21d4 hex color will look
on a black background.