In RGB color space, #5a1b82 hex color has a red value of 90, a green value of 27 and a blue value of 130.
In CMYK color space (used in color printing), #5a1b82 hex color is composed of 30.77% cyan, 79.23% magenta, 0% yellow and 49.02% black.
#5a1b82 color has a hue of 276.7 degrees, a saturation of 65.61% and a lightness of 30.8%.
#5a1b82 hex color contains mainly BLUE.
The closest web safe color of #5a1b82 is #663399
#5a1b82 hex color has a decimal value of 5905282.
HEX | 5a1b82 | #5a1b82 |
---|---|---|
RGB | 90, 27, 130 | rgb(90, 27, 130) |
RGB Percent | 35.29, 10.59, 50.98 | rgb(35.29, 10.59, 50.98) |
CMYK | 31, 79, 0, 49 | |
HSL | 276.7°, 65.61, 30.8 | hsl(276.7, 65.61%, 30.8%) |
HSV | 276.7°, 79.2, 51 |
XYZ | 8.638, 4.569, 21.546 |
---|---|
Hunter Lab | 21.375, 34.728, -44.801 |
CIE-LAB | 25.47, 46.05, -45.047 |
CIE-LCH | 25.47, 64.419, 315.631 |
CIE-LUV | 30.77, 79.23, 0, 49.02 |
Web Safe | 663399 |
RGB percent of color #5a1b82
CMYK percent of color #5a1b82
Text with hexadecimal color #5a1b82
This text has a font color of #5a1b82
<p style="color:#5a1b82">Text here</p>
#5a1b82 Background Color
This box has a background color of #5a1b82
<div style="background-color:#5a1b82">Text here</div>
#5a1b82 Border Color
This box has a border color of #5a1b82
<div style="border: 4px solid #5a1b82">Text here</div>
CSS codes
<p style="color:#5a1b82">Text here</p>
<div style="background-color:#5a1b82">Text here</div>
<div style="border: 4px solid #5a1b82">Text here</div>
#5a1b82 Color on white background
This is how a font and box color of #5a1b82 will look
on a white background.
#5a1b82 Color on black background
This is how a font and box color of #5a1b82 hex color will look
on a black background.