In RGB color space, #5a1b8f hex color has a red value of 90, a green value of 27 and a blue value of 143.
In CMYK color space (used in color printing), #5a1b8f hex color is composed of 37.06% cyan, 81.12% magenta, 0% yellow and 43.92% black.
#5a1b8f color has a hue of 272.6 degrees, a saturation of 68.24% and a lightness of 33.3%.
#5a1b8f hex color contains mainly BLUE.
The closest web safe color of #5a1b8f is #663399
#5a1b8f hex color has a decimal value of 5905295.
HEX | 5a1b8f | #5a1b8f |
---|---|---|
RGB | 90, 27, 143 | rgb(90, 27, 143) |
RGB Percent | 35.29, 10.59, 56.08 | rgb(35.29, 10.59, 56.08) |
CMYK | 37, 81, 0, 44 | |
HSL | 272.6°, 68.24, 33.3 | hsl(272.6, 68.24%, 33.3%) |
HSV | 272.6°, 81.1, 56.1 |
XYZ | 9.566, 4.941, 26.436 |
---|---|
Hunter Lab | 22.228, 37.918, -54.953 |
CIE-LAB | 26.566, 49.103, -51.38 |
CIE-LCH | 26.566, 71.07, 313.702 |
CIE-LUV | 37.06, 81.12, 0, 43.92 |
Web Safe | 663399 |
RGB percent of color #5a1b8f
CMYK percent of color #5a1b8f
Text with hexadecimal color #5a1b8f
This text has a font color of #5a1b8f
<p style="color:#5a1b8f">Text here</p>
#5a1b8f Background Color
This box has a background color of #5a1b8f
<div style="background-color:#5a1b8f">Text here</div>
#5a1b8f Border Color
This box has a border color of #5a1b8f
<div style="border: 4px solid #5a1b8f">Text here</div>
CSS codes
<p style="color:#5a1b8f">Text here</p>
<div style="background-color:#5a1b8f">Text here</div>
<div style="border: 4px solid #5a1b8f">Text here</div>
#5a1b8f Color on white background
This is how a font and box color of #5a1b8f will look
on a white background.
#5a1b8f Color on black background
This is how a font and box color of #5a1b8f hex color will look
on a black background.