In RGB color space, #5a1b7e hex color has a red value of 90, a green value of 27 and a blue value of 126.
In CMYK color space (used in color printing), #5a1b7e hex color is composed of 28.57% cyan, 78.57% magenta, 0% yellow and 50.59% black.
#5a1b7e color has a hue of 278.2 degrees, a saturation of 64.71% and a lightness of 30%.
#5a1b7e hex color contains mainly BLUE.
The closest web safe color of #5a1b7e is #663366
#5a1b7e hex color has a decimal value of 5905278.
HEX | 5a1b7e | #5a1b7e |
---|---|---|
RGB | 90, 27, 126 | rgb(90, 27, 126) |
RGB Percent | 35.29, 10.59, 49.41 | rgb(35.29, 10.59, 49.41) |
CMYK | 29, 79, 0, 51 | |
HSL | 278.2°, 64.71, 30 | hsl(278.2, 64.71%, 30%) |
HSV | 278.2°, 78.6, 49.4 |
XYZ | 8.374, 4.464, 20.159 |
---|---|
Hunter Lab | 21.128, 33.773, -41.781 |
CIE-LAB | 25.15, 45.116, -43.042 |
CIE-LCH | 25.15, 62.354, 316.348 |
CIE-LUV | 28.57, 78.57, 0, 50.59 |
Web Safe | 663366 |
RGB percent of color #5a1b7e
CMYK percent of color #5a1b7e
Text with hexadecimal color #5a1b7e
This text has a font color of #5a1b7e
<p style="color:#5a1b7e">Text here</p>
#5a1b7e Background Color
This box has a background color of #5a1b7e
<div style="background-color:#5a1b7e">Text here</div>
#5a1b7e Border Color
This box has a border color of #5a1b7e
<div style="border: 4px solid #5a1b7e">Text here</div>
CSS codes
<p style="color:#5a1b7e">Text here</p>
<div style="background-color:#5a1b7e">Text here</div>
<div style="border: 4px solid #5a1b7e">Text here</div>
#5a1b7e Color on white background
This is how a font and box color of #5a1b7e will look
on a white background.
#5a1b7e Color on black background
This is how a font and box color of #5a1b7e hex color will look
on a black background.