In RGB color space, #5a1b94 hex color has a red value of 90, a green value of 27 and a blue value of 148.
In CMYK color space (used in color printing), #5a1b94 hex color is composed of 39.19% cyan, 81.76% magenta, 0% yellow and 41.96% black.
#5a1b94 color has a hue of 271.2 degrees, a saturation of 69.14% and a lightness of 34.3%.
#5a1b94 hex color contains mainly BLUE.
The closest web safe color of #5a1b94 is #663399
#5a1b94 hex color has a decimal value of 5905300.
HEX | 5a1b94 | #5a1b94 |
---|---|---|
RGB | 90, 27, 148 | rgb(90, 27, 148) |
RGB Percent | 35.29, 10.59, 58.04 | rgb(35.29, 10.59, 58.04) |
CMYK | 39, 82, 0, 42 | |
HSL | 271.2°, 69.14, 34.3 | hsl(271.2, 69.14%, 34.3%) |
HSV | 271.2°, 81.8, 58 |
XYZ | 9.954, 5.096, 28.476 |
---|---|
Hunter Lab | 22.574, 39.203, -58.988 |
CIE-LAB | 27.007, 50.307, -53.751 |
CIE-LCH | 27.007, 73.62, 313.104 |
CIE-LUV | 39.19, 81.76, 0, 41.96 |
Web Safe | 663399 |
RGB percent of color #5a1b94
CMYK percent of color #5a1b94
Text with hexadecimal color #5a1b94
This text has a font color of #5a1b94
<p style="color:#5a1b94">Text here</p>
#5a1b94 Background Color
This box has a background color of #5a1b94
<div style="background-color:#5a1b94">Text here</div>
#5a1b94 Border Color
This box has a border color of #5a1b94
<div style="border: 4px solid #5a1b94">Text here</div>
CSS codes
<p style="color:#5a1b94">Text here</p>
<div style="background-color:#5a1b94">Text here</div>
<div style="border: 4px solid #5a1b94">Text here</div>
#5a1b94 Color on white background
This is how a font and box color of #5a1b94 will look
on a white background.
#5a1b94 Color on black background
This is how a font and box color of #5a1b94 hex color will look
on a black background.