In RGB color space, #2a1b37 hex color has a red value of 42, a green value of 27 and a blue value of 55.
In CMYK color space (used in color printing), #2a1b37 hex color is composed of 23.64% cyan, 50.91% magenta, 0% yellow and 78.43% black.
#2a1b37 color has a hue of 272.1 degrees, a saturation of 34.15% and a lightness of 16.1%.
#2a1b37 hex color contains mainly BLUE.
The closest web safe color of #2a1b37 is #333333
#2a1b37 hex color has a decimal value of 2759479.
HEX | 2a1b37 | #2a1b37 |
---|---|---|
RGB | 42, 27, 55 | rgb(42, 27, 55) |
RGB Percent | 16.47, 10.59, 21.57 | rgb(16.47, 10.59, 21.57) |
CMYK | 24, 51, 0, 78 | |
HSL | 272.1°, 34.15, 16.1 | hsl(272.1, 34.15%, 16.1%) |
HSV | 272.1°, 50.9, 21.6 |
XYZ | 2.036, 1.552, 3.807 |
---|---|
Hunter Lab | 12.458, 7.371, -9.398 |
CIE-LAB | 12.935, 14.143, -15.511 |
CIE-LCH | 12.935, 20.991, 312.359 |
CIE-LUV | 23.64, 50.91, 0, 78.43 |
Web Safe | 333333 |
RGB percent of color #2a1b37
CMYK percent of color #2a1b37
Text with hexadecimal color #2a1b37
This text has a font color of #2a1b37
<p style="color:#2a1b37">Text here</p>
#2a1b37 Background Color
This box has a background color of #2a1b37
<div style="background-color:#2a1b37">Text here</div>
#2a1b37 Border Color
This box has a border color of #2a1b37
<div style="border: 4px solid #2a1b37">Text here</div>
CSS codes
<p style="color:#2a1b37">Text here</p>
<div style="background-color:#2a1b37">Text here</div>
<div style="border: 4px solid #2a1b37">Text here</div>
#2a1b37 Color on white background
This is how a font and box color of #2a1b37 will look
on a white background.
#2a1b37 Color on black background
This is how a font and box color of #2a1b37 hex color will look
on a black background.