In RGB color space, #5a1fb4 hex color has a red value of 90, a green value of 31 and a blue value of 180.
In CMYK color space (used in color printing), #5a1fb4 hex color is composed of 50% cyan, 82.78% magenta, 0% yellow and 29.41% black.
#5a1fb4 color has a hue of 263.8 degrees, a saturation of 70.62% and a lightness of 41.4%.
#5a1fb4 hex color contains mainly BLUE.
The closest web safe color of #5a1fb4 is #6633cc
#5a1fb4 hex color has a decimal value of 5906356.
HEX | 5a1fb4 | #5a1fb4 |
---|---|---|
RGB | 90, 31, 180 | rgb(90, 31, 180) |
RGB Percent | 35.29, 12.16, 70.59 | rgb(35.29, 12.16, 70.59) |
CMYK | 50, 83, 0, 29 | |
HSL | 263.8°, 70.62, 41.4 | hsl(263.8, 70.62%, 41.4%) |
HSV | 263.8°, 82.8, 70.6 |
XYZ | 12.945, 6.449, 43.743 |
---|---|
Hunter Lab | 25.395, 46.549, -84.351 |
CIE-LAB | 30.518, 56.742, -67.371 |
CIE-LCH | 30.518, 88.082, 310.105 |
CIE-LUV | 50, 82.78, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #5a1fb4
CMYK percent of color #5a1fb4
Text with hexadecimal color #5a1fb4
This text has a font color of #5a1fb4
<p style="color:#5a1fb4">Text here</p>
#5a1fb4 Background Color
This box has a background color of #5a1fb4
<div style="background-color:#5a1fb4">Text here</div>
#5a1fb4 Border Color
This box has a border color of #5a1fb4
<div style="border: 4px solid #5a1fb4">Text here</div>
CSS codes
<p style="color:#5a1fb4">Text here</p>
<div style="background-color:#5a1fb4">Text here</div>
<div style="border: 4px solid #5a1fb4">Text here</div>
#5a1fb4 Color on white background
This is how a font and box color of #5a1fb4 will look
on a white background.
#5a1fb4 Color on black background
This is how a font and box color of #5a1fb4 hex color will look
on a black background.