In RGB color space, #5f2d99 hex color has a red value of 95, a green value of 45 and a blue value of 153.
In CMYK color space (used in color printing), #5f2d99 hex color is composed of 37.91% cyan, 70.59% magenta, 0% yellow and 40% black.
#5f2d99 color has a hue of 267.8 degrees, a saturation of 54.55% and a lightness of 38.8%.
#5f2d99 hex color contains mainly BLUE.
The closest web safe color of #5f2d99 is #663399
#5f2d99 hex color has a decimal value of 6237593.
HEX | 5f2d99 | #5f2d99 |
---|---|---|
RGB | 95, 45, 153 | rgb(95, 45, 153) |
RGB Percent | 37.25, 17.65, 60 | rgb(37.25, 17.65, 60) |
CMYK | 38, 71, 0, 40 | |
HSL | 267.8°, 54.55, 38.8 | hsl(267.8, 54.55%, 38.8%) |
HSV | 267.8°, 70.6, 60 |
XYZ | 11.407, 6.61, 30.812 |
---|---|
Hunter Lab | 25.71, 34.205, -53.059 |
CIE-LAB | 30.902, 44.467, -50.44 |
CIE-LCH | 30.902, 67.242, 311.399 |
CIE-LUV | 37.91, 70.59, 0, 40 |
Web Safe | 663399 |
RGB percent of color #5f2d99
CMYK percent of color #5f2d99
Text with hexadecimal color #5f2d99
This text has a font color of #5f2d99
<p style="color:#5f2d99">Text here</p>
#5f2d99 Background Color
This box has a background color of #5f2d99
<div style="background-color:#5f2d99">Text here</div>
#5f2d99 Border Color
This box has a border color of #5f2d99
<div style="border: 4px solid #5f2d99">Text here</div>
CSS codes
<p style="color:#5f2d99">Text here</p>
<div style="background-color:#5f2d99">Text here</div>
<div style="border: 4px solid #5f2d99">Text here</div>
#5f2d99 Color on white background
This is how a font and box color of #5f2d99 will look
on a white background.
#5f2d99 Color on black background
This is how a font and box color of #5f2d99 hex color will look
on a black background.