In RGB color space, #540258 hex color has a red value of 84, a green value of 2 and a blue value of 88.
In CMYK color space (used in color printing), #540258 hex color is composed of 4.55% cyan, 97.73% magenta, 0% yellow and 65.49% black.
#540258 color has a hue of 297.2 degrees, a saturation of 95.56% and a lightness of 17.6%.
#540258 hex color contains mainly BLUE.
The closest web safe color of #540258 is #660066
#540258 hex color has a decimal value of 5505624.
HEX | 540258 | #540258 |
---|---|---|
RGB | 84, 2, 88 | rgb(84, 2, 88) |
RGB Percent | 32.94, 0.78, 34.51 | rgb(32.94, 0.78, 34.51) |
CMYK | 5, 98, 0, 65 | |
HSL | 297.2°, 95.56, 17.6 | hsl(297.2, 95.56%, 17.6%) |
HSV | 297.2°, 97.7, 34.5 |
XYZ | 5.439, 2.633, 9.454 |
---|---|
Hunter Lab | 16.227, 31.435, -23.185 |
CIE-LAB | 18.51, 43.928, -29.063 |
CIE-LCH | 18.51, 52.672, 326.511 |
CIE-LUV | 4.55, 97.73, 0, 65.49 |
Web Safe | 660066 |
RGB percent of color #540258
CMYK percent of color #540258
Text with hexadecimal color #540258
This text has a font color of #540258
<p style="color:#540258">Text here</p>
#540258 Background Color
This box has a background color of #540258
<div style="background-color:#540258">Text here</div>
#540258 Border Color
This box has a border color of #540258
<div style="border: 4px solid #540258">Text here</div>
CSS codes
<p style="color:#540258">Text here</p>
<div style="background-color:#540258">Text here</div>
<div style="border: 4px solid #540258">Text here</div>
#540258 Color on white background
This is how a font and box color of #540258 will look
on a white background.
#540258 Color on black background
This is how a font and box color of #540258 hex color will look
on a black background.