In RGB color space, #5a0c40 hex color has a red value of 90, a green value of 12 and a blue value of 64.
In CMYK color space (used in color printing), #5a0c40 hex color is composed of 0% cyan, 86.67% magenta, 28.89% yellow and 64.71% black.
#5a0c40 color has a hue of 320 degrees, a saturation of 76.47% and a lightness of 20%.
#5a0c40 hex color contains mainly RED.
The closest web safe color of #5a0c40 is #660033
#5a0c40 hex color has a decimal value of 5901376.
HEX | 5a0c40 | #5a0c40 |
---|---|---|
RGB | 90, 12, 64 | rgb(90, 12, 64) |
RGB Percent | 35.29, 4.71, 25.1 | rgb(35.29, 4.71, 25.1) |
CMYK | 0, 87, 29, 65 | |
HSL | 320°, 76.47, 20 | hsl(320, 76.47%, 20%) |
HSV | 320°, 86.7, 35.3 |
XYZ | 5.273, 2.807, 5.114 |
---|---|
Hunter Lab | 16.754, 26.859, -6.37 |
CIE-LAB | 19.254, 38.741, -11.378 |
CIE-LCH | 19.254, 40.377, 343.633 |
CIE-LUV | 0, 86.67, 28.89, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a0c40
CMYK percent of color #5a0c40
Text with hexadecimal color #5a0c40
This text has a font color of #5a0c40
<p style="color:#5a0c40">Text here</p>
#5a0c40 Background Color
This box has a background color of #5a0c40
<div style="background-color:#5a0c40">Text here</div>
#5a0c40 Border Color
This box has a border color of #5a0c40
<div style="border: 4px solid #5a0c40">Text here</div>
CSS codes
<p style="color:#5a0c40">Text here</p>
<div style="background-color:#5a0c40">Text here</div>
<div style="border: 4px solid #5a0c40">Text here</div>
#5a0c40 Color on white background
This is how a font and box color of #5a0c40 will look
on a white background.
#5a0c40 Color on black background
This is how a font and box color of #5a0c40 hex color will look
on a black background.