In RGB color space, #5a197f hex color has a red value of 90, a green value of 25 and a blue value of 127.
In CMYK color space (used in color printing), #5a197f hex color is composed of 29.13% cyan, 80.31% magenta, 0% yellow and 50.2% black.
#5a197f color has a hue of 278.2 degrees, a saturation of 67.11% and a lightness of 29.8%.
#5a197f hex color contains mainly BLUE.
The closest web safe color of #5a197f is #660066
#5a197f hex color has a decimal value of 5904767.
HEX | 5a197f | #5a197f |
---|---|---|
RGB | 90, 25, 127 | rgb(90, 25, 127) |
RGB Percent | 35.29, 9.8, 49.8 | rgb(35.29, 9.8, 49.8) |
CMYK | 29, 80, 0, 50 | |
HSL | 278.2°, 67.11, 29.8 | hsl(278.2, 67.11%, 29.8%) |
HSV | 278.2°, 80.3, 49.8 |
XYZ | 8.395, 4.401, 20.486 |
---|---|
Hunter Lab | 20.979, 34.718, -43.213 |
CIE-LAB | 24.955, 46.14, -43.991 |
CIE-LCH | 24.955, 63.75, 316.366 |
CIE-LUV | 29.13, 80.31, 0, 50.2 |
Web Safe | 660066 |
RGB percent of color #5a197f
CMYK percent of color #5a197f
Text with hexadecimal color #5a197f
This text has a font color of #5a197f
<p style="color:#5a197f">Text here</p>
#5a197f Background Color
This box has a background color of #5a197f
<div style="background-color:#5a197f">Text here</div>
#5a197f Border Color
This box has a border color of #5a197f
<div style="border: 4px solid #5a197f">Text here</div>
CSS codes
<p style="color:#5a197f">Text here</p>
<div style="background-color:#5a197f">Text here</div>
<div style="border: 4px solid #5a197f">Text here</div>
#5a197f Color on white background
This is how a font and box color of #5a197f will look
on a white background.
#5a197f Color on black background
This is how a font and box color of #5a197f hex color will look
on a black background.