In RGB color space, #5a1f93 hex color has a red value of 90, a green value of 31 and a blue value of 147.
In CMYK color space (used in color printing), #5a1f93 hex color is composed of 38.78% cyan, 78.91% magenta, 0% yellow and 42.35% black.
#5a1f93 color has a hue of 270.5 degrees, a saturation of 65.17% and a lightness of 34.9%.
#5a1f93 hex color contains mainly BLUE.
The closest web safe color of #5a1f93 is #663399
#5a1f93 hex color has a decimal value of 5906323.
HEX | 5a1f93 | #5a1f93 |
---|---|---|
RGB | 90, 31, 147 | rgb(90, 31, 147) |
RGB Percent | 35.29, 12.16, 57.65 | rgb(35.29, 12.16, 57.65) |
CMYK | 39, 79, 0, 42 | |
HSL | 270.5°, 65.17, 34.9 | hsl(270.5, 65.17%, 34.9%) |
HSV | 270.5°, 78.9, 57.6 |
XYZ | 9.973, 5.26, 28.093 |
---|---|
Hunter Lab | 22.935, 37.484, -56.571 |
CIE-LAB | 27.463, 48.489, -52.387 |
CIE-LCH | 27.463, 71.383, 312.787 |
CIE-LUV | 38.78, 78.91, 0, 42.35 |
Web Safe | 663399 |
RGB percent of color #5a1f93
CMYK percent of color #5a1f93
Text with hexadecimal color #5a1f93
This text has a font color of #5a1f93
<p style="color:#5a1f93">Text here</p>
#5a1f93 Background Color
This box has a background color of #5a1f93
<div style="background-color:#5a1f93">Text here</div>
#5a1f93 Border Color
This box has a border color of #5a1f93
<div style="border: 4px solid #5a1f93">Text here</div>
CSS codes
<p style="color:#5a1f93">Text here</p>
<div style="background-color:#5a1f93">Text here</div>
<div style="border: 4px solid #5a1f93">Text here</div>
#5a1f93 Color on white background
This is how a font and box color of #5a1f93 will look
on a white background.
#5a1f93 Color on black background
This is how a font and box color of #5a1f93 hex color will look
on a black background.