In RGB color space, #5a1b5a hex color has a red value of 90, a green value of 27 and a blue value of 90.
In CMYK color space (used in color printing), #5a1b5a hex color is composed of 0% cyan, 70% magenta, 0% yellow and 64.71% black.
#5a1b5a color has a hue of 300 degrees, a saturation of 53.85% and a lightness of 22.9%.
#5a1b5a hex color contains mainly RED.
The closest web safe color of #5a1b5a is #663366
#5a1b5a hex color has a decimal value of 5905242.
HEX | 5a1b5a | #5a1b5a |
---|---|---|
RGB | 90, 27, 90 | rgb(90, 27, 90) |
RGB Percent | 35.29, 10.59, 35.29 | rgb(35.29, 10.59, 35.29) |
CMYK | 0, 70, 0, 65 | |
HSL | 300°, 53.85, 22.9 | hsl(300, 53.85%, 22.9%) |
HSV | 300°, 70, 35.3 |
XYZ | 6.454, 3.696, 10.046 |
---|---|
Hunter Lab | 19.225, 26.28, -17.524 |
CIE-LAB | 22.64, 37.435, -23.753 |
CIE-LCH | 22.64, 44.335, 327.604 |
CIE-LUV | 0, 70, 0, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1b5a
CMYK percent of color #5a1b5a
Text with hexadecimal color #5a1b5a
This text has a font color of #5a1b5a
<p style="color:#5a1b5a">Text here</p>
#5a1b5a Background Color
This box has a background color of #5a1b5a
<div style="background-color:#5a1b5a">Text here</div>
#5a1b5a Border Color
This box has a border color of #5a1b5a
<div style="border: 4px solid #5a1b5a">Text here</div>
CSS codes
<p style="color:#5a1b5a">Text here</p>
<div style="background-color:#5a1b5a">Text here</div>
<div style="border: 4px solid #5a1b5a">Text here</div>
#5a1b5a Color on white background
This is how a font and box color of #5a1b5a will look
on a white background.
#5a1b5a Color on black background
This is how a font and box color of #5a1b5a hex color will look
on a black background.