In RGB color space, #5a1f42 hex color has a red value of 90, a green value of 31 and a blue value of 66.
In CMYK color space (used in color printing), #5a1f42 hex color is composed of 0% cyan, 65.56% magenta, 26.67% yellow and 64.71% black.
#5a1f42 color has a hue of 324.4 degrees, a saturation of 48.76% and a lightness of 23.7%.
#5a1f42 hex color contains mainly RED.
The closest web safe color of #5a1f42 is #663333
#5a1f42 hex color has a decimal value of 5906242.
HEX | 5a1f42 | #5a1f42 |
---|---|---|
RGB | 90, 31, 66 | rgb(90, 31, 66) |
RGB Percent | 35.29, 12.16, 25.88 | rgb(35.29, 12.16, 25.88) |
CMYK | 0, 66, 27, 65 | |
HSL | 324.4°, 48.76, 23.7 | hsl(324.4, 48.76%, 23.7%) |
HSV | 324.4°, 65.6, 35.3 |
XYZ | 5.69, 3.547, 5.539 |
---|---|
Hunter Lab | 18.833, 20.97, -4.254 |
CIE-LAB | 22.113, 31.314, -8.393 |
CIE-LCH | 22.113, 32.419, 344.996 |
CIE-LUV | 0, 65.56, 26.67, 64.71 |
Web Safe | 663333 |
RGB percent of color #5a1f42
CMYK percent of color #5a1f42
Text with hexadecimal color #5a1f42
This text has a font color of #5a1f42
<p style="color:#5a1f42">Text here</p>
#5a1f42 Background Color
This box has a background color of #5a1f42
<div style="background-color:#5a1f42">Text here</div>
#5a1f42 Border Color
This box has a border color of #5a1f42
<div style="border: 4px solid #5a1f42">Text here</div>
CSS codes
<p style="color:#5a1f42">Text here</p>
<div style="background-color:#5a1f42">Text here</div>
<div style="border: 4px solid #5a1f42">Text here</div>
#5a1f42 Color on white background
This is how a font and box color of #5a1f42 will look
on a white background.
#5a1f42 Color on black background
This is how a font and box color of #5a1f42 hex color will look
on a black background.