In RGB color space, #5f3a9a hex color has a red value of 95, a green value of 58 and a blue value of 154.
In CMYK color space (used in color printing), #5f3a9a hex color is composed of 38.31% cyan, 62.34% magenta, 0% yellow and 39.61% black.
#5f3a9a color has a hue of 263.1 degrees, a saturation of 45.28% and a lightness of 41.6%.
#5f3a9a hex color contains mainly BLUE.
The closest web safe color of #5f3a9a is #663399
#5f3a9a hex color has a decimal value of 6240922.
HEX | 5f3a9a | #5f3a9a |
---|---|---|
RGB | 95, 58, 154 | rgb(95, 58, 154) |
RGB Percent | 37.25, 22.75, 60.39 | rgb(37.25, 22.75, 60.39) |
CMYK | 38, 62, 0, 40 | |
HSL | 263.1°, 45.28, 41.6 | hsl(263.1, 45.28%, 41.6%) |
HSV | 263.1°, 62.3, 60.4 |
XYZ | 12.065, 7.792, 31.44 |
---|---|
Hunter Lab | 27.914, 28.301, -47.239 |
CIE-LAB | 33.546, 37.725, -46.768 |
CIE-LCH | 33.546, 60.087, 308.891 |
CIE-LUV | 38.31, 62.34, 0, 39.61 |
Web Safe | 663399 |
RGB percent of color #5f3a9a
CMYK percent of color #5f3a9a
Text with hexadecimal color #5f3a9a
This text has a font color of #5f3a9a
<p style="color:#5f3a9a">Text here</p>
#5f3a9a Background Color
This box has a background color of #5f3a9a
<div style="background-color:#5f3a9a">Text here</div>
#5f3a9a Border Color
This box has a border color of #5f3a9a
<div style="border: 4px solid #5f3a9a">Text here</div>
CSS codes
<p style="color:#5f3a9a">Text here</p>
<div style="background-color:#5f3a9a">Text here</div>
<div style="border: 4px solid #5f3a9a">Text here</div>
#5f3a9a Color on white background
This is how a font and box color of #5f3a9a will look
on a white background.
#5f3a9a Color on black background
This is how a font and box color of #5f3a9a hex color will look
on a black background.