In RGB color space, #5a1b6f hex color has a red value of 90, a green value of 27 and a blue value of 111.
In CMYK color space (used in color printing), #5a1b6f hex color is composed of 18.92% cyan, 75.68% magenta, 0% yellow and 56.47% black.
#5a1b6f color has a hue of 285 degrees, a saturation of 60.87% and a lightness of 27.1%.
#5a1b6f hex color contains mainly BLUE.
The closest web safe color of #5a1b6f is #663366
#5a1b6f hex color has a decimal value of 5905263.
HEX | 5a1b6f | #5a1b6f |
---|---|---|
RGB | 90, 27, 111 | rgb(90, 27, 111) |
RGB Percent | 35.29, 10.59, 43.53 | rgb(35.29, 10.59, 43.53) |
CMYK | 19, 76, 0, 56 | |
HSL | 285°, 60.87, 27.1 | hsl(285, 60.87%, 27.1%) |
HSV | 285°, 75.7, 43.5 |
XYZ | 7.478, 4.105, 15.437 |
---|---|
Hunter Lab | 20.261, 30.426, -30.991 |
CIE-LAB | 24.016, 41.768, -35.295 |
CIE-LCH | 24.016, 54.684, 319.801 |
CIE-LUV | 18.92, 75.68, 0, 56.47 |
Web Safe | 663366 |
RGB percent of color #5a1b6f
CMYK percent of color #5a1b6f
Text with hexadecimal color #5a1b6f
This text has a font color of #5a1b6f
<p style="color:#5a1b6f">Text here</p>
#5a1b6f Background Color
This box has a background color of #5a1b6f
<div style="background-color:#5a1b6f">Text here</div>
#5a1b6f Border Color
This box has a border color of #5a1b6f
<div style="border: 4px solid #5a1b6f">Text here</div>
CSS codes
<p style="color:#5a1b6f">Text here</p>
<div style="background-color:#5a1b6f">Text here</div>
<div style="border: 4px solid #5a1b6f">Text here</div>
#5a1b6f Color on white background
This is how a font and box color of #5a1b6f will look
on a white background.
#5a1b6f Color on black background
This is how a font and box color of #5a1b6f hex color will look
on a black background.