In RGB color space, #5a1fa1 hex color has a red value of 90, a green value of 31 and a blue value of 161.
In CMYK color space (used in color printing), #5a1fa1 hex color is composed of 44.1% cyan, 80.75% magenta, 0% yellow and 36.86% black.
#5a1fa1 color has a hue of 267.2 degrees, a saturation of 67.71% and a lightness of 37.6%.
#5a1fa1 hex color contains mainly BLUE.
The closest web safe color of #5a1fa1 is #663399
#5a1fa1 hex color has a decimal value of 5906337.
HEX | 5a1fa1 | #5a1fa1 |
---|---|---|
RGB | 90, 31, 161 | rgb(90, 31, 161) |
RGB Percent | 35.29, 12.16, 63.14 | rgb(35.29, 12.16, 63.14) |
CMYK | 44, 81, 0, 37 | |
HSL | 267.2°, 67.71, 37.6 | hsl(267.2, 67.71%, 37.6%) |
HSV | 267.2°, 80.7, 63.1 |
XYZ | 11.139, 5.727, 34.236 |
---|---|
Hunter Lab | 23.931, 41.205, -68.069 |
CIE-LAB | 28.713, 51.956, -58.908 |
CIE-LCH | 28.713, 78.547, 311.412 |
CIE-LUV | 44.1, 80.75, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5a1fa1
CMYK percent of color #5a1fa1
Text with hexadecimal color #5a1fa1
This text has a font color of #5a1fa1
<p style="color:#5a1fa1">Text here</p>
#5a1fa1 Background Color
This box has a background color of #5a1fa1
<div style="background-color:#5a1fa1">Text here</div>
#5a1fa1 Border Color
This box has a border color of #5a1fa1
<div style="border: 4px solid #5a1fa1">Text here</div>
CSS codes
<p style="color:#5a1fa1">Text here</p>
<div style="background-color:#5a1fa1">Text here</div>
<div style="border: 4px solid #5a1fa1">Text here</div>
#5a1fa1 Color on white background
This is how a font and box color of #5a1fa1 will look
on a white background.
#5a1fa1 Color on black background
This is how a font and box color of #5a1fa1 hex color will look
on a black background.