In RGB color space, #5f3f99 hex color has a red value of 95, a green value of 63 and a blue value of 153.
In CMYK color space (used in color printing), #5f3f99 hex color is composed of 37.91% cyan, 58.82% magenta, 0% yellow and 40% black.
#5f3f99 color has a hue of 261.3 degrees, a saturation of 41.67% and a lightness of 42.4%.
#5f3f99 hex color contains mainly BLUE.
The closest web safe color of #5f3f99 is #663399
#5f3f99 hex color has a decimal value of 6242201.
HEX | 5f3f99 | #5f3f99 |
---|---|---|
RGB | 95, 63, 153 | rgb(95, 63, 153) |
RGB Percent | 37.25, 24.71, 60 | rgb(37.25, 24.71, 60) |
CMYK | 38, 59, 0, 40 | |
HSL | 261.3°, 41.67, 42.4 | hsl(261.3, 41.67%, 42.4%) |
HSV | 261.3°, 58.8, 60 |
XYZ | 12.247, 8.288, 31.091 |
---|---|
Hunter Lab | 28.789, 25.555, -43.879 |
CIE-LAB | 34.576, 34.544, -44.501 |
CIE-LCH | 34.576, 56.335, 307.82 |
CIE-LUV | 37.91, 58.82, 0, 40 |
Web Safe | 663399 |
RGB percent of color #5f3f99
CMYK percent of color #5f3f99
Text with hexadecimal color #5f3f99
This text has a font color of #5f3f99
<p style="color:#5f3f99">Text here</p>
#5f3f99 Background Color
This box has a background color of #5f3f99
<div style="background-color:#5f3f99">Text here</div>
#5f3f99 Border Color
This box has a border color of #5f3f99
<div style="border: 4px solid #5f3f99">Text here</div>
CSS codes
<p style="color:#5f3f99">Text here</p>
<div style="background-color:#5f3f99">Text here</div>
<div style="border: 4px solid #5f3f99">Text here</div>
#5f3f99 Color on white background
This is how a font and box color of #5f3f99 will look
on a white background.
#5f3f99 Color on black background
This is how a font and box color of #5f3f99 hex color will look
on a black background.