In RGB color space, #5a1fd7 hex color has a red value of 90, a green value of 31 and a blue value of 215.
In CMYK color space (used in color printing), #5a1fd7 hex color is composed of 58.14% cyan, 85.58% magenta, 0% yellow and 15.69% black.
#5a1fd7 color has a hue of 259.2 degrees, a saturation of 74.8% and a lightness of 48.2%.
#5a1fd7 hex color contains mainly BLUE.
The closest web safe color of #5a1fd7 is #6633cc
#5a1fd7 hex color has a decimal value of 5906391.
HEX | 5a1fd7 | #5a1fd7 |
---|---|---|
RGB | 90, 31, 215 | rgb(90, 31, 215) |
RGB Percent | 35.29, 12.16, 84.31 | rgb(35.29, 12.16, 84.31) |
CMYK | 58, 86, 0, 16 | |
HSL | 259.2°, 74.8, 48.2 | hsl(259.2, 74.8%, 48.2%) |
HSV | 259.2°, 85.6, 84.3 |
XYZ | 16.972, 8.06, 64.951 |
---|---|
Hunter Lab | 28.39, 57.027, -115.771 |
CIE-LAB | 34.108, 65.577, -81.968 |
CIE-LCH | 34.108, 104.972, 308.661 |
CIE-LUV | 58.14, 85.58, 0, 15.69 |
Web Safe | 6633cc |
RGB percent of color #5a1fd7
CMYK percent of color #5a1fd7
Text with hexadecimal color #5a1fd7
This text has a font color of #5a1fd7
<p style="color:#5a1fd7">Text here</p>
#5a1fd7 Background Color
This box has a background color of #5a1fd7
<div style="background-color:#5a1fd7">Text here</div>
#5a1fd7 Border Color
This box has a border color of #5a1fd7
<div style="border: 4px solid #5a1fd7">Text here</div>
CSS codes
<p style="color:#5a1fd7">Text here</p>
<div style="background-color:#5a1fd7">Text here</div>
<div style="border: 4px solid #5a1fd7">Text here</div>
#5a1fd7 Color on white background
This is how a font and box color of #5a1fd7 will look
on a white background.
#5a1fd7 Color on black background
This is how a font and box color of #5a1fd7 hex color will look
on a black background.