In RGB color space, #5a1f51 hex color has a red value of 90, a green value of 31 and a blue value of 81.
In CMYK color space (used in color printing), #5a1f51 hex color is composed of 0% cyan, 65.56% magenta, 10% yellow and 64.71% black.
#5a1f51 color has a hue of 309.2 degrees, a saturation of 48.76% and a lightness of 23.7%.
#5a1f51 hex color contains mainly RED.
The closest web safe color of #5a1f51 is #663366
#5a1f51 hex color has a decimal value of 5906257.
HEX | 5a1f51 | #5a1f51 |
---|---|---|
RGB | 90, 31, 81 | rgb(90, 31, 81) |
RGB Percent | 35.29, 12.16, 31.76 | rgb(35.29, 12.16, 31.76) |
CMYK | 0, 66, 10, 65 | |
HSL | 309.2°, 48.76, 23.7 | hsl(309.2, 48.76%, 23.7%) |
HSV | 309.2°, 65.6, 35.3 |
XYZ | 6.192, 3.748, 8.182 |
---|---|
Hunter Lab | 19.36, 23.212, -11.506 |
CIE-LAB | 22.82, 33.859, -17.466 |
CIE-LCH | 22.82, 38.098, 332.713 |
CIE-LUV | 0, 65.56, 10, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1f51
CMYK percent of color #5a1f51
Text with hexadecimal color #5a1f51
This text has a font color of #5a1f51
<p style="color:#5a1f51">Text here</p>
#5a1f51 Background Color
This box has a background color of #5a1f51
<div style="background-color:#5a1f51">Text here</div>
#5a1f51 Border Color
This box has a border color of #5a1f51
<div style="border: 4px solid #5a1f51">Text here</div>
CSS codes
<p style="color:#5a1f51">Text here</p>
<div style="background-color:#5a1f51">Text here</div>
<div style="border: 4px solid #5a1f51">Text here</div>
#5a1f51 Color on white background
This is how a font and box color of #5a1f51 will look
on a white background.
#5a1f51 Color on black background
This is how a font and box color of #5a1f51 hex color will look
on a black background.