In RGB color space, #5f3299 hex color has a red value of 95, a green value of 50 and a blue value of 153.
In CMYK color space (used in color printing), #5f3299 hex color is composed of 37.91% cyan, 67.32% magenta, 0% yellow and 40% black.
#5f3299 color has a hue of 266.2 degrees, a saturation of 50.74% and a lightness of 39.8%.
#5f3299 hex color contains mainly BLUE.
The closest web safe color of #5f3299 is #663399
#5f3299 hex color has a decimal value of 6238873.
HEX | 5f3299 | #5f3299 |
---|---|---|
RGB | 95, 50, 153 | rgb(95, 50, 153) |
RGB Percent | 37.25, 19.61, 60 | rgb(37.25, 19.61, 60) |
CMYK | 38, 67, 0, 40 | |
HSL | 266.2°, 50.74, 39.8 | hsl(266.2, 50.74%, 39.8%) |
HSV | 266.2°, 67.3, 60 |
XYZ | 11.61, 7.014, 30.879 |
---|---|
Hunter Lab | 26.484, 31.904, -50.59 |
CIE-LAB | 31.839, 41.884, -48.92 |
CIE-LCH | 31.839, 64.401, 310.569 |
CIE-LUV | 37.91, 67.32, 0, 40 |
Web Safe | 663399 |
RGB percent of color #5f3299
CMYK percent of color #5f3299
Text with hexadecimal color #5f3299
This text has a font color of #5f3299
<p style="color:#5f3299">Text here</p>
#5f3299 Background Color
This box has a background color of #5f3299
<div style="background-color:#5f3299">Text here</div>
#5f3299 Border Color
This box has a border color of #5f3299
<div style="border: 4px solid #5f3299">Text here</div>
CSS codes
<p style="color:#5f3299">Text here</p>
<div style="background-color:#5f3299">Text here</div>
<div style="border: 4px solid #5f3299">Text here</div>
#5f3299 Color on white background
This is how a font and box color of #5f3299 will look
on a white background.
#5f3299 Color on black background
This is how a font and box color of #5f3299 hex color will look
on a black background.