In RGB color space, #5a2d9b hex color has a red value of 90, a green value of 45 and a blue value of 155.
In CMYK color space (used in color printing), #5a2d9b hex color is composed of 41.94% cyan, 70.97% magenta, 0% yellow and 39.22% black.
#5a2d9b color has a hue of 264.5 degrees, a saturation of 55% and a lightness of 39.2%.
#5a2d9b hex color contains mainly BLUE.
The closest web safe color of #5a2d9b is #663399
#5a2d9b hex color has a decimal value of 5909915.
HEX | 5a2d9b | #5a2d9b |
---|---|---|
RGB | 90, 45, 155 | rgb(90, 45, 155) |
RGB Percent | 35.29, 17.65, 60.78 | rgb(35.29, 17.65, 60.78) |
CMYK | 42, 71, 0, 39 | |
HSL | 264.5°, 55, 39.2 | hsl(264.5, 55%, 39.2%) |
HSV | 264.5°, 71, 60.8 |
XYZ | 11.071, 6.417, 31.665 |
---|---|
Hunter Lab | 25.332, 33.681, -56.381 |
CIE-LAB | 30.441, 44.008, -52.436 |
CIE-LCH | 30.441, 68.456, 310.006 |
CIE-LUV | 41.94, 70.97, 0, 39.22 |
Web Safe | 663399 |
RGB percent of color #5a2d9b
CMYK percent of color #5a2d9b
Text with hexadecimal color #5a2d9b
This text has a font color of #5a2d9b
<p style="color:#5a2d9b">Text here</p>
#5a2d9b Background Color
This box has a background color of #5a2d9b
<div style="background-color:#5a2d9b">Text here</div>
#5a2d9b Border Color
This box has a border color of #5a2d9b
<div style="border: 4px solid #5a2d9b">Text here</div>
CSS codes
<p style="color:#5a2d9b">Text here</p>
<div style="background-color:#5a2d9b">Text here</div>
<div style="border: 4px solid #5a2d9b">Text here</div>
#5a2d9b Color on white background
This is how a font and box color of #5a2d9b will look
on a white background.
#5a2d9b Color on black background
This is how a font and box color of #5a2d9b hex color will look
on a black background.