In RGB color space, #5f2a99 hex color has a red value of 95, a green value of 42 and a blue value of 153.
In CMYK color space (used in color printing), #5f2a99 hex color is composed of 37.91% cyan, 72.55% magenta, 0% yellow and 40% black.
#5f2a99 color has a hue of 268.6 degrees, a saturation of 56.92% and a lightness of 38.2%.
#5f2a99 hex color contains mainly BLUE.
The closest web safe color of #5f2a99 is #663399
#5f2a99 hex color has a decimal value of 6236825.
HEX | 5f2a99 | #5f2a99 |
---|---|---|
RGB | 95, 42, 153 | rgb(95, 42, 153) |
RGB Percent | 37.25, 16.47, 60 | rgb(37.25, 16.47, 60) |
CMYK | 38, 73, 0, 40 | |
HSL | 268.6°, 56.92, 38.2 | hsl(268.6, 56.92%, 38.2%) |
HSV | 268.6°, 72.5, 60 |
XYZ | 11.297, 6.389, 30.775 |
---|---|
Hunter Lab | 25.276, 35.544, -54.494 |
CIE-LAB | 30.373, 45.95, -51.299 |
CIE-LCH | 30.373, 68.869, 311.852 |
CIE-LUV | 37.91, 72.55, 0, 40 |
Web Safe | 663399 |
RGB percent of color #5f2a99
CMYK percent of color #5f2a99
Text with hexadecimal color #5f2a99
This text has a font color of #5f2a99
<p style="color:#5f2a99">Text here</p>
#5f2a99 Background Color
This box has a background color of #5f2a99
<div style="background-color:#5f2a99">Text here</div>
#5f2a99 Border Color
This box has a border color of #5f2a99
<div style="border: 4px solid #5f2a99">Text here</div>
CSS codes
<p style="color:#5f2a99">Text here</p>
<div style="background-color:#5f2a99">Text here</div>
<div style="border: 4px solid #5f2a99">Text here</div>
#5f2a99 Color on white background
This is how a font and box color of #5f2a99 will look
on a white background.
#5f2a99 Color on black background
This is how a font and box color of #5f2a99 hex color will look
on a black background.