In RGB color space, #5a0642 hex color has a red value of 90, a green value of 6 and a blue value of 66.
In CMYK color space (used in color printing), #5a0642 hex color is composed of 0% cyan, 93.33% magenta, 26.67% yellow and 64.71% black.
#5a0642 color has a hue of 317.1 degrees, a saturation of 87.5% and a lightness of 18.8%.
#5a0642 hex color contains mainly RED.
The closest web safe color of #5a0642 is #660033
#5a0642 hex color has a decimal value of 5899842.
HEX | 5a0642 | #5a0642 |
---|---|---|
RGB | 90, 6, 66 | rgb(90, 6, 66) |
RGB Percent | 35.29, 2.35, 25.88 | rgb(35.29, 2.35, 25.88) |
CMYK | 0, 93, 27, 65 | |
HSL | 317.1°, 87.5, 18.8 | hsl(317.1, 87.5%, 18.8%) |
HSV | 317.1°, 93.3, 35.3 |
XYZ | 5.265, 2.697, 5.397 |
---|---|
Hunter Lab | 16.423, 28.487, -7.989 |
CIE-LAB | 18.787, 40.656, -13.49 |
CIE-LCH | 18.787, 42.836, 341.644 |
CIE-LUV | 0, 93.33, 26.67, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a0642
CMYK percent of color #5a0642
Text with hexadecimal color #5a0642
This text has a font color of #5a0642
<p style="color:#5a0642">Text here</p>
#5a0642 Background Color
This box has a background color of #5a0642
<div style="background-color:#5a0642">Text here</div>
#5a0642 Border Color
This box has a border color of #5a0642
<div style="border: 4px solid #5a0642">Text here</div>
CSS codes
<p style="color:#5a0642">Text here</p>
<div style="background-color:#5a0642">Text here</div>
<div style="border: 4px solid #5a0642">Text here</div>
#5a0642 Color on white background
This is how a font and box color of #5a0642 will look
on a white background.
#5a0642 Color on black background
This is how a font and box color of #5a0642 hex color will look
on a black background.