In RGB color space, #540381 hex color has a red value of 84, a green value of 3 and a blue value of 129.
In CMYK color space (used in color printing), #540381 hex color is composed of 34.88% cyan, 97.67% magenta, 0% yellow and 49.41% black.
#540381 color has a hue of 278.6 degrees, a saturation of 95.45% and a lightness of 25.9%.
#540381 hex color contains mainly BLUE.
The closest web safe color of #540381 is #660099
#540381 hex color has a decimal value of 5505921.
HEX | 540381 | #540381 |
---|---|---|
RGB | 84, 3, 129 | rgb(84, 3, 129) |
RGB Percent | 32.94, 1.18, 50.59 | rgb(32.94, 1.18, 50.59) |
CMYK | 35, 98, 0, 49 | |
HSL | 278.6°, 95.45, 25.9 | hsl(278.6, 95.45%, 25.9%) |
HSV | 278.6°, 97.7, 50.6 |
XYZ | 7.651, 3.535, 21.048 |
---|---|
Hunter Lab | 18.802, 39.735, -53.213 |
CIE-LAB | 22.07, 51.792, -50.003 |
CIE-LCH | 22.07, 71.991, 316.007 |
CIE-LUV | 34.88, 97.67, 0, 49.41 |
Web Safe | 660099 |
RGB percent of color #540381
CMYK percent of color #540381
Text with hexadecimal color #540381
This text has a font color of #540381
<p style="color:#540381">Text here</p>
#540381 Background Color
This box has a background color of #540381
<div style="background-color:#540381">Text here</div>
#540381 Border Color
This box has a border color of #540381
<div style="border: 4px solid #540381">Text here</div>
CSS codes
<p style="color:#540381">Text here</p>
<div style="background-color:#540381">Text here</div>
<div style="border: 4px solid #540381">Text here</div>
#540381 Color on white background
This is how a font and box color of #540381 will look
on a white background.
#540381 Color on black background
This is how a font and box color of #540381 hex color will look
on a black background.