In RGB color space, #5a2486 hex color has a red value of 90, a green value of 36 and a blue value of 134.
In CMYK color space (used in color printing), #5a2486 hex color is composed of 32.84% cyan, 73.13% magenta, 0% yellow and 47.45% black.
#5a2486 color has a hue of 273.1 degrees, a saturation of 57.65% and a lightness of 33.3%.
#5a2486 hex color contains mainly BLUE.
The closest web safe color of #5a2486 is #663399
#5a2486 hex color has a decimal value of 5907590.
HEX | 5a2486 | #5a2486 |
---|---|---|
RGB | 90, 36, 134 | rgb(90, 36, 134) |
RGB Percent | 35.29, 14.12, 52.55 | rgb(35.29, 14.12, 52.55) |
CMYK | 33, 73, 0, 47 | |
HSL | 273.1°, 57.65, 33.3 | hsl(273.1, 57.65%, 33.3%) |
HSV | 273.1°, 73.1, 52.5 |
XYZ | 9.15, 5.157, 23.067 |
---|---|
Hunter Lab | 22.709, 32.181, -44.328 |
CIE-LAB | 27.177, 43.046, -44.783 |
CIE-LCH | 27.177, 62.117, 313.867 |
CIE-LUV | 32.84, 73.13, 0, 47.45 |
Web Safe | 663399 |
RGB percent of color #5a2486
CMYK percent of color #5a2486
Text with hexadecimal color #5a2486
This text has a font color of #5a2486
<p style="color:#5a2486">Text here</p>
#5a2486 Background Color
This box has a background color of #5a2486
<div style="background-color:#5a2486">Text here</div>
#5a2486 Border Color
This box has a border color of #5a2486
<div style="border: 4px solid #5a2486">Text here</div>
CSS codes
<p style="color:#5a2486">Text here</p>
<div style="background-color:#5a2486">Text here</div>
<div style="border: 4px solid #5a2486">Text here</div>
#5a2486 Color on white background
This is how a font and box color of #5a2486 will look
on a white background.
#5a2486 Color on black background
This is how a font and box color of #5a2486 hex color will look
on a black background.