In RGB color space, #5a1d54 hex color has a red value of 90, a green value of 29 and a blue value of 84.
In CMYK color space (used in color printing), #5a1d54 hex color is composed of 0% cyan, 67.78% magenta, 6.67% yellow and 64.71% black.
#5a1d54 color has a hue of 305.9 degrees, a saturation of 51.26% and a lightness of 23.3%.
#5a1d54 hex color contains mainly RED.
The closest web safe color of #5a1d54 is #663366
#5a1d54 hex color has a decimal value of 5905748.
HEX | 5a1d54 | #5a1d54 |
---|---|---|
RGB | 90, 29, 84 | rgb(90, 29, 84) |
RGB Percent | 35.29, 11.37, 32.94 | rgb(35.29, 11.37, 32.94) |
CMYK | 0, 68, 7, 65 | |
HSL | 305.9°, 51.26, 23.3 | hsl(305.9, 51.26%, 23.3%) |
HSV | 305.9°, 67.8, 35.3 |
XYZ | 6.256, 3.692, 8.77 |
---|---|
Hunter Lab | 19.215, 24.492, -13.611 |
CIE-LAB | 22.626, 35.387, -19.776 |
CIE-LCH | 22.626, 40.538, 330.801 |
CIE-LUV | 0, 67.78, 6.67, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1d54
CMYK percent of color #5a1d54
Text with hexadecimal color #5a1d54
This text has a font color of #5a1d54
<p style="color:#5a1d54">Text here</p>
#5a1d54 Background Color
This box has a background color of #5a1d54
<div style="background-color:#5a1d54">Text here</div>
#5a1d54 Border Color
This box has a border color of #5a1d54
<div style="border: 4px solid #5a1d54">Text here</div>
CSS codes
<p style="color:#5a1d54">Text here</p>
<div style="background-color:#5a1d54">Text here</div>
<div style="border: 4px solid #5a1d54">Text here</div>
#5a1d54 Color on white background
This is how a font and box color of #5a1d54 will look
on a white background.
#5a1d54 Color on black background
This is how a font and box color of #5a1d54 hex color will look
on a black background.