In RGB color space, #5a2d96 hex color has a red value of 90, a green value of 45 and a blue value of 150.
In CMYK color space (used in color printing), #5a2d96 hex color is composed of 40% cyan, 70% magenta, 0% yellow and 41.18% black.
#5a2d96 color has a hue of 265.7 degrees, a saturation of 53.85% and a lightness of 38.2%.
#5a2d96 hex color contains mainly BLUE.
The closest web safe color of #5a2d96 is #663399
#5a2d96 hex color has a decimal value of 5909910.
HEX | 5a2d96 | #5a2d96 |
---|---|---|
RGB | 90, 45, 150 | rgb(90, 45, 150) |
RGB Percent | 35.29, 17.65, 58.82 | rgb(35.29, 17.65, 58.82) |
CMYK | 40, 70, 0, 41 | |
HSL | 265.7°, 53.85, 38.2 | hsl(265.7, 53.85%, 38.2%) |
HSV | 265.7°, 70, 58.8 |
XYZ | 10.66, 6.252, 29.499 |
---|---|
Hunter Lab | 25.004, 32.343, -52.446 |
CIE-LAB | 30.04, 42.679, -50.035 |
CIE-LCH | 30.04, 65.765, 310.464 |
CIE-LUV | 40, 70, 0, 41.18 |
Web Safe | 663399 |
RGB percent of color #5a2d96
CMYK percent of color #5a2d96
Text with hexadecimal color #5a2d96
This text has a font color of #5a2d96
<p style="color:#5a2d96">Text here</p>
#5a2d96 Background Color
This box has a background color of #5a2d96
<div style="background-color:#5a2d96">Text here</div>
#5a2d96 Border Color
This box has a border color of #5a2d96
<div style="border: 4px solid #5a2d96">Text here</div>
CSS codes
<p style="color:#5a2d96">Text here</p>
<div style="background-color:#5a2d96">Text here</div>
<div style="border: 4px solid #5a2d96">Text here</div>
#5a2d96 Color on white background
This is how a font and box color of #5a2d96 will look
on a white background.
#5a2d96 Color on black background
This is how a font and box color of #5a2d96 hex color will look
on a black background.