In RGB color space, #5a15a2 hex color has a red value of 90, a green value of 21 and a blue value of 162.
In CMYK color space (used in color printing), #5a15a2 hex color is composed of 44.44% cyan, 87.04% magenta, 0% yellow and 36.47% black.
#5a15a2 color has a hue of 269.4 degrees, a saturation of 77.05% and a lightness of 35.9%.
#5a15a2 hex color contains mainly BLUE.
The closest web safe color of #5a15a2 is #660099
#5a15a2 hex color has a decimal value of 5903778.
HEX | 5a15a2 | #5a15a2 |
---|---|---|
RGB | 90, 21, 162 | rgb(90, 21, 162) |
RGB Percent | 35.29, 8.24, 63.53 | rgb(35.29, 8.24, 63.53) |
CMYK | 44, 87, 0, 36 | |
HSL | 269.4°, 77.05, 35.9 | hsl(269.4, 77.05%, 35.9%) |
HSV | 269.4°, 87, 63.5 |
XYZ | 11.006, 5.319, 34.629 |
---|---|
Hunter Lab | 23.063, 44.823, -72.88 |
CIE-LAB | 27.625, 55.668, -61.303 |
CIE-LCH | 27.625, 82.807, 312.242 |
CIE-LUV | 44.44, 87.04, 0, 36.47 |
Web Safe | 660099 |
RGB percent of color #5a15a2
CMYK percent of color #5a15a2
Text with hexadecimal color #5a15a2
This text has a font color of #5a15a2
<p style="color:#5a15a2">Text here</p>
#5a15a2 Background Color
This box has a background color of #5a15a2
<div style="background-color:#5a15a2">Text here</div>
#5a15a2 Border Color
This box has a border color of #5a15a2
<div style="border: 4px solid #5a15a2">Text here</div>
CSS codes
<p style="color:#5a15a2">Text here</p>
<div style="background-color:#5a15a2">Text here</div>
<div style="border: 4px solid #5a15a2">Text here</div>
#5a15a2 Color on white background
This is how a font and box color of #5a15a2 will look
on a white background.
#5a15a2 Color on black background
This is how a font and box color of #5a15a2 hex color will look
on a black background.