In RGB color space, #5f309a hex color has a red value of 95, a green value of 48 and a blue value of 154.
In CMYK color space (used in color printing), #5f309a hex color is composed of 38.31% cyan, 68.83% magenta, 0% yellow and 39.61% black.
#5f309a color has a hue of 266.6 degrees, a saturation of 52.48% and a lightness of 39.6%.
#5f309a hex color contains mainly BLUE.
The closest web safe color of #5f309a is #663399
#5f309a hex color has a decimal value of 6238362.
HEX | 5f309a | #5f309a |
---|---|---|
RGB | 95, 48, 154 | rgb(95, 48, 154) |
RGB Percent | 37.25, 18.82, 60.39 | rgb(37.25, 18.82, 60.39) |
CMYK | 38, 69, 0, 40 | |
HSL | 266.6°, 52.48, 39.6 | hsl(266.6, 52.48%, 39.6%) |
HSV | 266.6°, 68.8, 60.4 |
XYZ | 11.609, 6.88, 31.288 |
---|---|
Hunter Lab | 26.23, 33.1, -52.363 |
CIE-LAB | 31.532, 43.198, -50.026 |
CIE-LCH | 31.532, 66.096, 310.811 |
CIE-LUV | 38.31, 68.83, 0, 39.61 |
Web Safe | 663399 |
RGB percent of color #5f309a
CMYK percent of color #5f309a
Text with hexadecimal color #5f309a
This text has a font color of #5f309a
<p style="color:#5f309a">Text here</p>
#5f309a Background Color
This box has a background color of #5f309a
<div style="background-color:#5f309a">Text here</div>
#5f309a Border Color
This box has a border color of #5f309a
<div style="border: 4px solid #5f309a">Text here</div>
CSS codes
<p style="color:#5f309a">Text here</p>
<div style="background-color:#5f309a">Text here</div>
<div style="border: 4px solid #5f309a">Text here</div>
#5f309a Color on white background
This is how a font and box color of #5f309a will look
on a white background.
#5f309a Color on black background
This is how a font and box color of #5f309a hex color will look
on a black background.