In RGB color space, #2d1f5a hex color has a red value of 45, a green value of 31 and a blue value of 90.
In CMYK color space (used in color printing), #2d1f5a hex color is composed of 50% cyan, 65.56% magenta, 0% yellow and 64.71% black.
#2d1f5a color has a hue of 254.2 degrees, a saturation of 48.76% and a lightness of 23.7%.
#2d1f5a hex color contains mainly BLUE.
The closest web safe color of #2d1f5a is #333366
#2d1f5a hex color has a decimal value of 2957146.
HEX | 2d1f5a | #2d1f5a |
---|---|---|
RGB | 45, 31, 90 | rgb(45, 31, 90) |
RGB Percent | 17.65, 12.16, 35.29 | rgb(17.65, 12.16, 35.29) |
CMYK | 50, 66, 0, 65 | |
HSL | 254.2°, 48.76, 23.7 | hsl(254.2, 48.76%, 23.7%) |
HSV | 254.2°, 65.6, 35.3 |
XYZ | 3.418, 2.276, 9.932 |
---|---|
Hunter Lab | 15.086, 14.04, -28.473 |
CIE-LAB | 16.874, 23.34, -33.352 |
CIE-LCH | 16.874, 40.708, 304.985 |
CIE-LUV | 50, 65.56, 0, 64.71 |
Web Safe | 333366 |
RGB percent of color #2d1f5a
CMYK percent of color #2d1f5a
Text with hexadecimal color #2d1f5a
This text has a font color of #2d1f5a
<p style="color:#2d1f5a">Text here</p>
#2d1f5a Background Color
This box has a background color of #2d1f5a
<div style="background-color:#2d1f5a">Text here</div>
#2d1f5a Border Color
This box has a border color of #2d1f5a
<div style="border: 4px solid #2d1f5a">Text here</div>
CSS codes
<p style="color:#2d1f5a">Text here</p>
<div style="background-color:#2d1f5a">Text here</div>
<div style="border: 4px solid #2d1f5a">Text here</div>
#2d1f5a Color on white background
This is how a font and box color of #2d1f5a will look
on a white background.
#2d1f5a Color on black background
This is how a font and box color of #2d1f5a hex color will look
on a black background.