In RGB color space, #2d1f52 hex color has a red value of 45, a green value of 31 and a blue value of 82.
In CMYK color space (used in color printing), #2d1f52 hex color is composed of 45.12% cyan, 62.2% magenta, 0% yellow and 67.84% black.
#2d1f52 color has a hue of 256.5 degrees, a saturation of 45.13% and a lightness of 22.2%.
#2d1f52 hex color contains mainly BLUE.
The closest web safe color of #2d1f52 is #333366
#2d1f52 hex color has a decimal value of 2957138.
HEX | 2d1f52 | #2d1f52 |
---|---|---|
RGB | 45, 31, 82 | rgb(45, 31, 82) |
RGB Percent | 17.65, 12.16, 32.16 | rgb(17.65, 12.16, 32.16) |
CMYK | 45, 62, 0, 68 | |
HSL | 256.5°, 45.13, 22.2 | hsl(256.5, 45.13%, 22.2%) |
HSV | 256.5°, 62.2, 32.2 |
XYZ | 3.095, 2.147, 8.234 |
---|---|
Hunter Lab | 14.653, 12.061, -23.061 |
CIE-LAB | 16.241, 20.698, -28.989 |
CIE-LCH | 16.241, 35.62, 305.527 |
CIE-LUV | 45.12, 62.2, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #2d1f52
CMYK percent of color #2d1f52
Text with hexadecimal color #2d1f52
This text has a font color of #2d1f52
<p style="color:#2d1f52">Text here</p>
#2d1f52 Background Color
This box has a background color of #2d1f52
<div style="background-color:#2d1f52">Text here</div>
#2d1f52 Border Color
This box has a border color of #2d1f52
<div style="border: 4px solid #2d1f52">Text here</div>
CSS codes
<p style="color:#2d1f52">Text here</p>
<div style="background-color:#2d1f52">Text here</div>
<div style="border: 4px solid #2d1f52">Text here</div>
#2d1f52 Color on white background
This is how a font and box color of #2d1f52 will look
on a white background.
#2d1f52 Color on black background
This is how a font and box color of #2d1f52 hex color will look
on a black background.