In RGB color space, #5a2f8d hex color has a red value of 90, a green value of 47 and a blue value of 141.
In CMYK color space (used in color printing), #5a2f8d hex color is composed of 36.17% cyan, 66.67% magenta, 0% yellow and 44.71% black.
#5a2f8d color has a hue of 267.4 degrees, a saturation of 50% and a lightness of 36.9%.
#5a2f8d hex color contains mainly BLUE.
The closest web safe color of #5a2f8d is #663399
#5a2f8d hex color has a decimal value of 5910413.
HEX | 5a2f8d | #5a2f8d |
---|---|---|
RGB | 90, 47, 141 | rgb(90, 47, 141) |
RGB Percent | 35.29, 18.43, 55.29 | rgb(35.29, 18.43, 55.29) |
CMYK | 36, 67, 0, 45 | |
HSL | 267.4°, 50, 36.9 | hsl(267.4, 50%, 36.9%) |
HSV | 267.4°, 66.7, 55.3 |
XYZ | 10.041, 6.13, 25.853 |
---|---|
Hunter Lab | 24.759, 29.063, -44.579 |
CIE-LAB | 29.738, 39.218, -44.987 |
CIE-LCH | 29.738, 59.682, 311.081 |
CIE-LUV | 36.17, 66.67, 0, 44.71 |
Web Safe | 663399 |
RGB percent of color #5a2f8d
CMYK percent of color #5a2f8d
Text with hexadecimal color #5a2f8d
This text has a font color of #5a2f8d
<p style="color:#5a2f8d">Text here</p>
#5a2f8d Background Color
This box has a background color of #5a2f8d
<div style="background-color:#5a2f8d">Text here</div>
#5a2f8d Border Color
This box has a border color of #5a2f8d
<div style="border: 4px solid #5a2f8d">Text here</div>
CSS codes
<p style="color:#5a2f8d">Text here</p>
<div style="background-color:#5a2f8d">Text here</div>
<div style="border: 4px solid #5a2f8d">Text here</div>
#5a2f8d Color on white background
This is how a font and box color of #5a2f8d will look
on a white background.
#5a2f8d Color on black background
This is how a font and box color of #5a2f8d hex color will look
on a black background.