In RGB color space, #5a1f4a hex color has a red value of 90, a green value of 31 and a blue value of 74.
In CMYK color space (used in color printing), #5a1f4a hex color is composed of 0% cyan, 65.56% magenta, 17.78% yellow and 64.71% black.
#5a1f4a color has a hue of 316.3 degrees, a saturation of 48.76% and a lightness of 23.7%.
#5a1f4a hex color contains mainly RED.
The closest web safe color of #5a1f4a is #663333
#5a1f4a hex color has a decimal value of 5906250.
HEX | 5a1f4a | #5a1f4a |
---|---|---|
RGB | 90, 31, 74 | rgb(90, 31, 74) |
RGB Percent | 35.29, 12.16, 29.02 | rgb(35.29, 12.16, 29.02) |
CMYK | 0, 66, 18, 65 | |
HSL | 316.3°, 48.76, 23.7 | hsl(316.3, 48.76%, 23.7%) |
HSV | 316.3°, 65.6, 35.3 |
XYZ | 5.942, 3.648, 6.87 |
---|---|
Hunter Lab | 19.1, 22.107, -7.956 |
CIE-LAB | 22.472, 32.616, -13.29 |
CIE-LCH | 22.472, 35.22, 337.831 |
CIE-LUV | 0, 65.56, 17.78, 64.71 |
Web Safe | 663333 |
RGB percent of color #5a1f4a
CMYK percent of color #5a1f4a
Text with hexadecimal color #5a1f4a
This text has a font color of #5a1f4a
<p style="color:#5a1f4a">Text here</p>
#5a1f4a Background Color
This box has a background color of #5a1f4a
<div style="background-color:#5a1f4a">Text here</div>
#5a1f4a Border Color
This box has a border color of #5a1f4a
<div style="border: 4px solid #5a1f4a">Text here</div>
CSS codes
<p style="color:#5a1f4a">Text here</p>
<div style="background-color:#5a1f4a">Text here</div>
<div style="border: 4px solid #5a1f4a">Text here</div>
#5a1f4a Color on white background
This is how a font and box color of #5a1f4a will look
on a white background.
#5a1f4a Color on black background
This is how a font and box color of #5a1f4a hex color will look
on a black background.