In RGB color space, #2d1f7e hex color has a red value of 45, a green value of 31 and a blue value of 126.
In CMYK color space (used in color printing), #2d1f7e hex color is composed of 64.29% cyan, 75.4% magenta, 0% yellow and 50.59% black.
#2d1f7e color has a hue of 248.8 degrees, a saturation of 60.51% and a lightness of 30.8%.
#2d1f7e hex color contains mainly BLUE.
The closest web safe color of #2d1f7e is #333366
#2d1f7e hex color has a decimal value of 2957182.
HEX | 2d1f7e | #2d1f7e |
---|---|---|
RGB | 45, 31, 126 | rgb(45, 31, 126) |
RGB Percent | 17.65, 12.16, 49.41 | rgb(17.65, 12.16, 49.41) |
CMYK | 64, 75, 0, 51 | |
HSL | 248.8°, 60.51, 30.8 | hsl(248.8, 60.51%, 30.8%) |
HSV | 248.8°, 75.4, 49.4 |
XYZ | 5.338, 3.044, 20.045 |
---|---|
Hunter Lab | 17.447, 24.08, -55.906 |
CIE-LAB | 20.219, 35.36, -51.328 |
CIE-LCH | 20.219, 62.329, 304.563 |
CIE-LUV | 64.29, 75.4, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #2d1f7e
CMYK percent of color #2d1f7e
Text with hexadecimal color #2d1f7e
This text has a font color of #2d1f7e
<p style="color:#2d1f7e">Text here</p>
#2d1f7e Background Color
This box has a background color of #2d1f7e
<div style="background-color:#2d1f7e">Text here</div>
#2d1f7e Border Color
This box has a border color of #2d1f7e
<div style="border: 4px solid #2d1f7e">Text here</div>
CSS codes
<p style="color:#2d1f7e">Text here</p>
<div style="background-color:#2d1f7e">Text here</div>
<div style="border: 4px solid #2d1f7e">Text here</div>
#2d1f7e Color on white background
This is how a font and box color of #2d1f7e will look
on a white background.
#2d1f7e Color on black background
This is how a font and box color of #2d1f7e hex color will look
on a black background.