In RGB color space, #5a1951 hex color has a red value of 90, a green value of 25 and a blue value of 81.
In CMYK color space (used in color printing), #5a1951 hex color is composed of 0% cyan, 72.22% magenta, 10% yellow and 64.71% black.
#5a1951 color has a hue of 308.3 degrees, a saturation of 56.52% and a lightness of 22.5%.
#5a1951 hex color contains mainly RED.
The closest web safe color of #5a1951 is #660066
#5a1951 hex color has a decimal value of 5904721.
HEX | 5a1951 | #5a1951 |
---|---|---|
RGB | 90, 25, 81 | rgb(90, 25, 81) |
RGB Percent | 35.29, 9.8, 31.76 | rgb(35.29, 9.8, 31.76) |
CMYK | 0, 72, 10, 65 | |
HSL | 308.3°, 56.52, 22.5 | hsl(308.3, 56.52%, 22.5%) |
HSV | 308.3°, 72.2, 35.3 |
XYZ | 6.049, 3.463, 8.134 |
---|---|
Hunter Lab | 18.609, 25.456, -12.889 |
CIE-LAB | 21.81, 36.652, -19.042 |
CIE-LCH | 21.81, 41.303, 332.547 |
CIE-LUV | 0, 72.22, 10, 64.71 |
Web Safe | 660066 |
RGB percent of color #5a1951
CMYK percent of color #5a1951
Text with hexadecimal color #5a1951
This text has a font color of #5a1951
<p style="color:#5a1951">Text here</p>
#5a1951 Background Color
This box has a background color of #5a1951
<div style="background-color:#5a1951">Text here</div>
#5a1951 Border Color
This box has a border color of #5a1951
<div style="border: 4px solid #5a1951">Text here</div>
CSS codes
<p style="color:#5a1951">Text here</p>
<div style="background-color:#5a1951">Text here</div>
<div style="border: 4px solid #5a1951">Text here</div>
#5a1951 Color on white background
This is how a font and box color of #5a1951 will look
on a white background.
#5a1951 Color on black background
This is how a font and box color of #5a1951 hex color will look
on a black background.