In RGB color space, #5a1f54 hex color has a red value of 90, a green value of 31 and a blue value of 84.
In CMYK color space (used in color printing), #5a1f54 hex color is composed of 0% cyan, 65.56% magenta, 6.67% yellow and 64.71% black.
#5a1f54 color has a hue of 306.1 degrees, a saturation of 48.76% and a lightness of 23.7%.
#5a1f54 hex color contains mainly RED.
The closest web safe color of #5a1f54 is #663366
#5a1f54 hex color has a decimal value of 5906260.
HEX | 5a1f54 | #5a1f54 |
---|---|---|
RGB | 90, 31, 84 | rgb(90, 31, 84) |
RGB Percent | 35.29, 12.16, 32.94 | rgb(35.29, 12.16, 32.94) |
CMYK | 0, 66, 7, 65 | |
HSL | 306.1°, 48.76, 23.7 | hsl(306.1, 48.76%, 23.7%) |
HSV | 306.1°, 65.6, 35.3 |
XYZ | 6.307, 3.794, 8.787 |
---|---|
Hunter Lab | 19.478, 23.711, -13.112 |
CIE-LAB | 22.978, 34.415, -19.224 |
CIE-LCH | 22.978, 39.42, 330.813 |
CIE-LUV | 0, 65.56, 6.67, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1f54
CMYK percent of color #5a1f54
Text with hexadecimal color #5a1f54
This text has a font color of #5a1f54
<p style="color:#5a1f54">Text here</p>
#5a1f54 Background Color
This box has a background color of #5a1f54
<div style="background-color:#5a1f54">Text here</div>
#5a1f54 Border Color
This box has a border color of #5a1f54
<div style="border: 4px solid #5a1f54">Text here</div>
CSS codes
<p style="color:#5a1f54">Text here</p>
<div style="background-color:#5a1f54">Text here</div>
<div style="border: 4px solid #5a1f54">Text here</div>
#5a1f54 Color on white background
This is how a font and box color of #5a1f54 will look
on a white background.
#5a1f54 Color on black background
This is how a font and box color of #5a1f54 hex color will look
on a black background.