In RGB color space, #5a2d95 hex color has a red value of 90, a green value of 45 and a blue value of 149.
In CMYK color space (used in color printing), #5a2d95 hex color is composed of 39.6% cyan, 69.8% magenta, 0% yellow and 41.57% black.
#5a2d95 color has a hue of 266 degrees, a saturation of 53.61% and a lightness of 38%.
#5a2d95 hex color contains mainly BLUE.
The closest web safe color of #5a2d95 is #663399
#5a2d95 hex color has a decimal value of 5909909.
HEX | 5a2d95 | #5a2d95 |
---|---|---|
RGB | 90, 45, 149 | rgb(90, 45, 149) |
RGB Percent | 35.29, 17.65, 58.43 | rgb(35.29, 17.65, 58.43) |
CMYK | 40, 70, 0, 42 | |
HSL | 266°, 53.61, 38 | hsl(266, 53.61%, 38%) |
HSV | 266°, 69.8, 58.4 |
XYZ | 10.58, 6.22, 29.077 |
---|---|
Hunter Lab | 24.94, 32.078, -51.667 |
CIE-LAB | 29.961, 42.414, -49.55 |
CIE-LCH | 29.961, 65.224, 310.563 |
CIE-LUV | 39.6, 69.8, 0, 41.57 |
Web Safe | 663399 |
RGB percent of color #5a2d95
CMYK percent of color #5a2d95
Text with hexadecimal color #5a2d95
This text has a font color of #5a2d95
<p style="color:#5a2d95">Text here</p>
#5a2d95 Background Color
This box has a background color of #5a2d95
<div style="background-color:#5a2d95">Text here</div>
#5a2d95 Border Color
This box has a border color of #5a2d95
<div style="border: 4px solid #5a2d95">Text here</div>
CSS codes
<p style="color:#5a2d95">Text here</p>
<div style="background-color:#5a2d95">Text here</div>
<div style="border: 4px solid #5a2d95">Text here</div>
#5a2d95 Color on white background
This is how a font and box color of #5a2d95 will look
on a white background.
#5a2d95 Color on black background
This is how a font and box color of #5a2d95 hex color will look
on a black background.