In RGB color space, #5a2f91 hex color has a red value of 90, a green value of 47 and a blue value of 145.
In CMYK color space (used in color printing), #5a2f91 hex color is composed of 37.93% cyan, 67.59% magenta, 0% yellow and 43.14% black.
#5a2f91 color has a hue of 266.3 degrees, a saturation of 51.04% and a lightness of 37.6%.
#5a2f91 hex color contains mainly BLUE.
The closest web safe color of #5a2f91 is #663399
#5a2f91 hex color has a decimal value of 5910417.
HEX | 5a2f91 | #5a2f91 |
---|---|---|
RGB | 90, 47, 145 | rgb(90, 47, 145) |
RGB Percent | 35.29, 18.43, 56.86 | rgb(35.29, 18.43, 56.86) |
CMYK | 38, 68, 0, 43 | |
HSL | 266.3°, 51.04, 37.6 | hsl(266.3, 51.04%, 37.6%) |
HSV | 266.3°, 67.6, 56.9 |
XYZ | 10.344, 6.251, 27.449 |
---|---|
Hunter Lab | 25.002, 30.097, -47.591 |
CIE-LAB | 30.037, 40.283, -46.969 |
CIE-LCH | 30.037, 61.877, 310.618 |
CIE-LUV | 37.93, 67.59, 0, 43.14 |
Web Safe | 663399 |
RGB percent of color #5a2f91
CMYK percent of color #5a2f91
Text with hexadecimal color #5a2f91
This text has a font color of #5a2f91
<p style="color:#5a2f91">Text here</p>
#5a2f91 Background Color
This box has a background color of #5a2f91
<div style="background-color:#5a2f91">Text here</div>
#5a2f91 Border Color
This box has a border color of #5a2f91
<div style="border: 4px solid #5a2f91">Text here</div>
CSS codes
<p style="color:#5a2f91">Text here</p>
<div style="background-color:#5a2f91">Text here</div>
<div style="border: 4px solid #5a2f91">Text here</div>
#5a2f91 Color on white background
This is how a font and box color of #5a2f91 will look
on a white background.
#5a2f91 Color on black background
This is how a font and box color of #5a2f91 hex color will look
on a black background.