In RGB color space, #2f1397 hex color has a red value of 47, a green value of 19 and a blue value of 151.
In CMYK color space (used in color printing), #2f1397 hex color is composed of 68.87% cyan, 87.42% magenta, 0% yellow and 40.78% black.
#2f1397 color has a hue of 252.7 degrees, a saturation of 77.65% and a lightness of 33.3%.
#2f1397 hex color contains mainly BLUE.
The closest web safe color of #2f1397 is #330099
#2f1397 hex color has a decimal value of 3085207.
HEX | 2f1397 | #2f1397 |
---|---|---|
RGB | 47, 19, 151 | rgb(47, 19, 151) |
RGB Percent | 18.43, 7.45, 59.22 | rgb(18.43, 7.45, 59.22) |
CMYK | 69, 87, 0, 41 | |
HSL | 252.7°, 77.65, 33.3 | hsl(252.7, 77.65%, 33.3%) |
HSV | 252.7°, 87.4, 59.2 |
XYZ | 6.991, 3.304, 29.548 |
---|---|
Hunter Lab | 18.177, 36.843, -83.657 |
CIE-LAB | 21.222, 49.052, -65.308 |
CIE-LCH | 21.222, 81.678, 306.91 |
CIE-LUV | 68.87, 87.42, 0, 40.78 |
Web Safe | 330099 |
RGB percent of color #2f1397
CMYK percent of color #2f1397
Text with hexadecimal color #2f1397
This text has a font color of #2f1397
<p style="color:#2f1397">Text here</p>
#2f1397 Background Color
This box has a background color of #2f1397
<div style="background-color:#2f1397">Text here</div>
#2f1397 Border Color
This box has a border color of #2f1397
<div style="border: 4px solid #2f1397">Text here</div>
CSS codes
<p style="color:#2f1397">Text here</p>
<div style="background-color:#2f1397">Text here</div>
<div style="border: 4px solid #2f1397">Text here</div>
#2f1397 Color on white background
This is how a font and box color of #2f1397 will look
on a white background.
#2f1397 Color on black background
This is how a font and box color of #2f1397 hex color will look
on a black background.