In RGB color space, #5a1a6d hex color has a red value of 90, a green value of 26 and a blue value of 109.
In CMYK color space (used in color printing), #5a1a6d hex color is composed of 17.43% cyan, 76.15% magenta, 0% yellow and 57.25% black.
#5a1a6d color has a hue of 286.3 degrees, a saturation of 61.48% and a lightness of 26.5%.
#5a1a6d hex color contains mainly BLUE.
The closest web safe color of #5a1a6d is #663366
#5a1a6d hex color has a decimal value of 5905005.
HEX | 5a1a6d | #5a1a6d |
---|---|---|
RGB | 90, 26, 109 | rgb(90, 26, 109) |
RGB Percent | 35.29, 10.2, 42.75 | rgb(35.29, 10.2, 42.75) |
CMYK | 17, 76, 0, 57 | |
HSL | 286.3°, 61.48, 26.5 | hsl(286.3, 61.48%, 26.5%) |
HSV | 286.3°, 76.1, 42.7 |
XYZ | 7.346, 4.017, 14.856 |
---|---|
Hunter Lab | 20.042, 30.35, -29.918 |
CIE-LAB | 23.728, 41.741, -34.466 |
CIE-LCH | 23.728, 54.131, 320.453 |
CIE-LUV | 17.43, 76.15, 0, 57.25 |
Web Safe | 663366 |
RGB percent of color #5a1a6d
CMYK percent of color #5a1a6d
Text with hexadecimal color #5a1a6d
This text has a font color of #5a1a6d
<p style="color:#5a1a6d">Text here</p>
#5a1a6d Background Color
This box has a background color of #5a1a6d
<div style="background-color:#5a1a6d">Text here</div>
#5a1a6d Border Color
This box has a border color of #5a1a6d
<div style="border: 4px solid #5a1a6d">Text here</div>
CSS codes
<p style="color:#5a1a6d">Text here</p>
<div style="background-color:#5a1a6d">Text here</div>
<div style="border: 4px solid #5a1a6d">Text here</div>
#5a1a6d Color on white background
This is how a font and box color of #5a1a6d will look
on a white background.
#5a1a6d Color on black background
This is how a font and box color of #5a1a6d hex color will look
on a black background.