In RGB color space, #5a1274 hex color has a red value of 90, a green value of 18 and a blue value of 116.
In CMYK color space (used in color printing), #5a1274 hex color is composed of 22.41% cyan, 84.48% magenta, 0% yellow and 54.51% black.
#5a1274 color has a hue of 284.1 degrees, a saturation of 73.13% and a lightness of 26.3%.
#5a1274 hex color contains mainly BLUE.
The closest web safe color of #5a1274 is #660066
#5a1274 hex color has a decimal value of 5902964.
HEX | 5a1274 | #5a1274 |
---|---|---|
RGB | 90, 18, 116 | rgb(90, 18, 116) |
RGB Percent | 35.29, 7.06, 45.49 | rgb(35.29, 7.06, 45.49) |
CMYK | 22, 84, 0, 55 | |
HSL | 284.1°, 73.13, 26.3 | hsl(284.1, 73.13%, 26.3%) |
HSV | 284.1°, 84.5, 45.5 |
XYZ | 7.585, 3.867, 16.87 |
---|---|
Hunter Lab | 19.665, 34.437, -37.099 |
CIE-LAB | 23.227, 46.185, -39.787 |
CIE-LCH | 23.227, 60.959, 319.256 |
CIE-LUV | 22.41, 84.48, 0, 54.51 |
Web Safe | 660066 |
RGB percent of color #5a1274
CMYK percent of color #5a1274
Text with hexadecimal color #5a1274
This text has a font color of #5a1274
<p style="color:#5a1274">Text here</p>
#5a1274 Background Color
This box has a background color of #5a1274
<div style="background-color:#5a1274">Text here</div>
#5a1274 Border Color
This box has a border color of #5a1274
<div style="border: 4px solid #5a1274">Text here</div>
CSS codes
<p style="color:#5a1274">Text here</p>
<div style="background-color:#5a1274">Text here</div>
<div style="border: 4px solid #5a1274">Text here</div>
#5a1274 Color on white background
This is how a font and box color of #5a1274 will look
on a white background.
#5a1274 Color on black background
This is how a font and box color of #5a1274 hex color will look
on a black background.