In RGB color space, #540bb1 hex color has a red value of 84, a green value of 11 and a blue value of 177.
In CMYK color space (used in color printing), #540bb1 hex color is composed of 52.54% cyan, 93.79% magenta, 0% yellow and 30.59% black.
#540bb1 color has a hue of 266.4 degrees, a saturation of 88.3% and a lightness of 36.9%.
#540bb1 hex color contains mainly BLUE.
The closest web safe color of #540bb1 is #660099
#540bb1 hex color has a decimal value of 5508017.
HEX | 540bb1 | #540bb1 |
---|---|---|
RGB | 84, 11, 177 | rgb(84, 11, 177) |
RGB Percent | 32.94, 4.31, 69.41 | rgb(32.94, 4.31, 69.41) |
CMYK | 53, 94, 0, 31 | |
HSL | 266.4°, 88.3, 36.9 | hsl(266.4, 88.3%, 36.9%) |
HSV | 266.4°, 93.8, 69.4 |
XYZ | 11.712, 5.298, 42 |
---|---|
Hunter Lab | 23.017, 50.546, -92.075 |
CIE-LAB | 27.567, 61.019, -70.472 |
CIE-LCH | 27.567, 93.218, 310.888 |
CIE-LUV | 52.54, 93.79, 0, 30.59 |
Web Safe | 660099 |
RGB percent of color #540bb1
CMYK percent of color #540bb1
Text with hexadecimal color #540bb1
This text has a font color of #540bb1
<p style="color:#540bb1">Text here</p>
#540bb1 Background Color
This box has a background color of #540bb1
<div style="background-color:#540bb1">Text here</div>
#540bb1 Border Color
This box has a border color of #540bb1
<div style="border: 4px solid #540bb1">Text here</div>
CSS codes
<p style="color:#540bb1">Text here</p>
<div style="background-color:#540bb1">Text here</div>
<div style="border: 4px solid #540bb1">Text here</div>
#540bb1 Color on white background
This is how a font and box color of #540bb1 will look
on a white background.
#540bb1 Color on black background
This is how a font and box color of #540bb1 hex color will look
on a black background.