#540d87 hex color
In a RGB color space, hex #540d87 is composed of 32.9% red, 5.1% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 37.8% cyan, 90.4% magenta, 0% yellow and 47.1% black. It has a hue angle of 274.9 degrees, a saturation of 82.4% and a lightness of 29%. #540d87 color hex could be obtained by blending #a81aff with #00000f. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 53
RGB color chart
-
- C 38
- M 90
- Y 0
- K 47
CMYK color chart
● #540d87 color description : Dark violet.
The hexadecimal color #540d87 has RGB values of R:84, G:13, B:135 and CMYK values of C:0.38, M:0.9, Y:0, K:0.47. Its decimal value is 5508487.
Hex triplet | 540d87 | #540d87 |
---|---|---|
RGB Decimal | 84, 13, 135 | rgb(84,13,135) |
RGB Percent | 32.9, 5.1, 52.9 | rgb(32.9%,5.1%,52.9%) |
CMYK | 38, 90, 0, 47 | |
HSL | 274.9°, 82.4, 29 | hsl(274.9,82.4%,29%) |
HSV (or HSB) | 274.9°, 90.4, 52.9 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.412, 50.807, -51.584 |
---|---|
XYZ | 8.173, 3.922, 23.247 |
xyY | 0.231, 0.111, 3.922 |
CIE-LCH | 23.412, 72.404, 314.566 |
CIE-LUV | 23.412, 12.546, -63.976 |
Hunter-Lab | 19.804, 39.004, -55.734 |
Binary | 01010100, 00001101, 10000111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540d87. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540d87
This text has a font color of #540d87.
<span style="color:#540d87;">Text here</span>
#540d87 background color
This paragraph has a background color of #540d87.
<p style="background-color:#540d87;">Content here</p>
#540d87 border color
This element has a border color of #540d87.
<div style="border:1px solid #540d87;">Content here</div>
CSS codes
.text {color:#540d87;}
.background {background-color:#540d87;}
.border {border:1px solid #540d87;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #06010a is the darkest color, while #fbf7fe is the lightest one.
-
#06010a
#06010a
rgb(6,1,10)
-
#11031c
#11031c
rgb(17,3,28)
-
#1c042e
#1c042e
rgb(28,4,46)
-
#27063f
#27063f
rgb(39,6,63)
-
#330851
#330851
rgb(51,8,81)
-
#3e0a63
#3e0a63
rgb(62,10,99)
-
#490b75
#490b75
rgb(73,11,117)
-
#540d87
#540d87
rgb(84,13,135)
-
#5f0f99
#5f0f99
rgb(95,15,153)
-
#6a10ab
#6a10ab
rgb(106,16,171)
-
#7512bd
#7512bd
rgb(117,18,189)
-
#8114cf
#8114cf
rgb(129,20,207)
-
#8c16e0
#8c16e0
rgb(140,22,224)
Shade Color Variation
-
#9520ea
#9520ea
rgb(149,32,234)
-
#9e32eb
#9e32eb
rgb(158,50,235)
-
#a644ed
#a644ed
rgb(166,68,237)
-
#af56ef
#af56ef
rgb(175,86,239)
-
#b768f0
#b768f0
rgb(183,104,240)
-
#c07af2
#c07af2
rgb(192,122,242)
-
#c88cf4
#c88cf4
rgb(200,140,244)
-
#d19df6
#d19df6
rgb(209,157,246)
-
#d9aff7
#d9aff7
rgb(217,175,247)
-
#e2c1f9
#e2c1f9
rgb(226,193,249)
-
#ead3fb
#ead3fb
rgb(234,211,251)
-
#f3e5fc
#f3e5fc
rgb(243,229,252)
-
#fbf7fe
#fbf7fe
rgb(251,247,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b464e is the less saturated color, while #560292 is the most saturated one.
-
#4b464e
#4b464e
rgb(75,70,78)
-
#4c4054
#4c4054
rgb(76,64,84)
-
#4d3b59
#4d3b59
rgb(77,59,89)
-
#4d355f
#4d355f
rgb(77,53,95)
-
#4e2f65
#4e2f65
rgb(78,47,101)
-
#4f296b
#4f296b
rgb(79,41,107)
-
#502470
#502470
rgb(80,36,112)
-
#511e76
#511e76
rgb(81,30,118)
-
#52187c
#52187c
rgb(82,24,124)
-
#531381
#531381
rgb(83,19,129)
-
#540d87
#540d87
rgb(84,13,135)
-
#55078d
#55078d
rgb(85,7,141)
-
#560292
#560292
rgb(86,2,146)
Tone Color Variation
Below, you can see how #540d87 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy