In RGB color space, #5a0c99 hex color has a red value of 90, a green value of 12 and a blue value of 153.
In CMYK color space (used in color printing), #5a0c99 hex color is composed of 41.18% cyan, 92.16% magenta, 0% yellow and 40% black.
#5a0c99 color has a hue of 273.2 degrees, a saturation of 85.45% and a lightness of 32.4%.
#5a0c99 hex color contains mainly BLUE.
The closest web safe color of #5a0c99 is #660099
#5a0c99 hex color has a decimal value of 5901465.
HEX | 5a0c99 | #5a0c99 |
---|---|---|
RGB | 90, 12, 153 | rgb(90, 12, 153) |
RGB Percent | 35.29, 4.71, 60 | rgb(35.29, 4.71, 60) |
CMYK | 41, 92, 0, 40 | |
HSL | 273.2°, 85.45, 32.4 | hsl(273.2, 85.45%, 32.4%) |
HSV | 273.2°, 92.2, 60 |
XYZ | 10.098, 4.737, 30.519 |
---|---|
Hunter Lab | 21.765, 44.729, -67.903 |
CIE-LAB | 25.972, 55.898, -58.523 |
CIE-LCH | 25.972, 80.929, 313.686 |
CIE-LUV | 41.18, 92.16, 0, 40 |
Web Safe | 660099 |
RGB percent of color #5a0c99
CMYK percent of color #5a0c99
Text with hexadecimal color #5a0c99
This text has a font color of #5a0c99
<p style="color:#5a0c99">Text here</p>
#5a0c99 Background Color
This box has a background color of #5a0c99
<div style="background-color:#5a0c99">Text here</div>
#5a0c99 Border Color
This box has a border color of #5a0c99
<div style="border: 4px solid #5a0c99">Text here</div>
CSS codes
<p style="color:#5a0c99">Text here</p>
<div style="background-color:#5a0c99">Text here</div>
<div style="border: 4px solid #5a0c99">Text here</div>
#5a0c99 Color on white background
This is how a font and box color of #5a0c99 will look
on a white background.
#5a0c99 Color on black background
This is how a font and box color of #5a0c99 hex color will look
on a black background.