In RGB color space, #5a2c8f hex color has a red value of 90, a green value of 44 and a blue value of 143.
In CMYK color space (used in color printing), #5a2c8f hex color is composed of 37.06% cyan, 69.23% magenta, 0% yellow and 43.92% black.
#5a2c8f color has a hue of 267.9 degrees, a saturation of 52.94% and a lightness of 36.7%.
#5a2c8f hex color contains mainly BLUE.
The closest web safe color of #5a2c8f is #663399
#5a2c8f hex color has a decimal value of 5909647.
HEX | 5a2c8f | #5a2c8f |
---|---|---|
RGB | 90, 44, 143 | rgb(90, 44, 143) |
RGB Percent | 35.29, 17.25, 56.08 | rgb(35.29, 17.25, 56.08) |
CMYK | 37, 69, 0, 44 | |
HSL | 267.9°, 52.94, 36.7 | hsl(267.9, 52.94%, 36.7%) |
HSV | 267.9°, 69.2, 56.1 |
XYZ | 10.075, 5.958, 26.606 |
---|---|
Hunter Lab | 24.409, 30.961, -47.54 |
CIE-LAB | 29.306, 41.346, -46.922 |
CIE-LCH | 29.306, 62.539, 311.385 |
CIE-LUV | 37.06, 69.23, 0, 43.92 |
Web Safe | 663399 |
RGB percent of color #5a2c8f
CMYK percent of color #5a2c8f
Text with hexadecimal color #5a2c8f
This text has a font color of #5a2c8f
<p style="color:#5a2c8f">Text here</p>
#5a2c8f Background Color
This box has a background color of #5a2c8f
<div style="background-color:#5a2c8f">Text here</div>
#5a2c8f Border Color
This box has a border color of #5a2c8f
<div style="border: 4px solid #5a2c8f">Text here</div>
CSS codes
<p style="color:#5a2c8f">Text here</p>
<div style="background-color:#5a2c8f">Text here</div>
<div style="border: 4px solid #5a2c8f">Text here</div>
#5a2c8f Color on white background
This is how a font and box color of #5a2c8f will look
on a white background.
#5a2c8f Color on black background
This is how a font and box color of #5a2c8f hex color will look
on a black background.