In RGB color space, #2f1f7f hex color has a red value of 47, a green value of 31 and a blue value of 127.
In CMYK color space (used in color printing), #2f1f7f hex color is composed of 62.99% cyan, 75.59% magenta, 0% yellow and 50.2% black.
#2f1f7f color has a hue of 250 degrees, a saturation of 60.76% and a lightness of 31%.
#2f1f7f hex color contains mainly BLUE.
The closest web safe color of #2f1f7f is #333366
#2f1f7f hex color has a decimal value of 3088255.
HEX | 2f1f7f | #2f1f7f |
---|---|---|
RGB | 47, 31, 127 | rgb(47, 31, 127) |
RGB Percent | 18.43, 12.16, 49.8 | rgb(18.43, 12.16, 49.8) |
CMYK | 63, 76, 0, 50 | |
HSL | 250°, 60.76, 31 | hsl(250, 60.76%, 31%) |
HSV | 250°, 75.6, 49.8 |
XYZ | 5.493, 3.117, 20.391 |
---|---|
Hunter Lab | 17.655, 24.64, -56.12 |
CIE-LAB | 20.507, 35.957, -51.483 |
CIE-LCH | 20.507, 62.797, 304.931 |
CIE-LUV | 62.99, 75.59, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #2f1f7f
CMYK percent of color #2f1f7f
Text with hexadecimal color #2f1f7f
This text has a font color of #2f1f7f
<p style="color:#2f1f7f">Text here</p>
#2f1f7f Background Color
This box has a background color of #2f1f7f
<div style="background-color:#2f1f7f">Text here</div>
#2f1f7f Border Color
This box has a border color of #2f1f7f
<div style="border: 4px solid #2f1f7f">Text here</div>
CSS codes
<p style="color:#2f1f7f">Text here</p>
<div style="background-color:#2f1f7f">Text here</div>
<div style="border: 4px solid #2f1f7f">Text here</div>
#2f1f7f Color on white background
This is how a font and box color of #2f1f7f will look
on a white background.
#2f1f7f Color on black background
This is how a font and box color of #2f1f7f hex color will look
on a black background.