#540d7b hex color
In a RGB color space, hex #540d7b is composed of 32.9% red, 5.1% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 89.4% magenta, 0% yellow and 51.8% black. It has a hue angle of 278.7 degrees, a saturation of 80.9% and a lightness of 26.7%. #540d7b color hex could be obtained by blending #a81af6 with #000000. Closest websafe color is: #660066.
-
- R 33
- G 5
- B 48
RGB color chart
-
- C 32
- M 89
- Y 0
- K 52
CMYK color chart
● #540d7b color description : Dark violet.
The hexadecimal color #540d7b has RGB values of R:84, G:13, B:123 and CMYK values of C:0.32, M:0.89, Y:0, K:0.52. Its decimal value is 5508475.
Hex triplet | 540d7b | #540d7b |
---|---|---|
RGB Decimal | 84, 13, 123 | rgb(84,13,123) |
RGB Percent | 32.9, 5.1, 48.2 | rgb(32.9%,5.1%,48.2%) |
CMYK | 32, 89, 0, 52 | |
HSL | 278.7°, 80.9, 26.7 | hsl(278.7,80.9%,26.7%) |
HSV (or HSB) | 278.7°, 89.4, 48.2 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 22.313, 48.117, -45.793 |
---|---|
XYZ | 7.375, 3.603, 19.045 |
xyY | 0.246, 0.12, 3.603 |
CIE-LCH | 22.313, 66.425, 316.418 |
CIE-LUV | 22.313, 14.789, -56.51 |
Hunter-Lab | 18.981, 36.134, -46.201 |
Binary | 01010100, 00001101, 01111011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540d7b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540d7b
This text has a font color of #540d7b.
<span style="color:#540d7b;">Text here</span>
#540d7b background color
This paragraph has a background color of #540d7b.
<p style="background-color:#540d7b;">Content here</p>
#540d7b border color
This element has a border color of #540d7b.
<div style="border:1px solid #540d7b;">Content here</div>
CSS codes
.text {color:#540d7b;}
.background {background-color:#540d7b;}
.border {border:1px solid #540d7b;}
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, #0b0211 is the darkest color, while #fffeff is the lightest one.
-
#0b0211
#0b0211
rgb(11,2,17)
-
#170422
#170422
rgb(23,4,34)
-
#240534
#240534
rgb(36,5,52)
-
#300746
#300746
rgb(48,7,70)
-
#3c0958
#3c0958
rgb(60,9,88)
-
#480b69
#480b69
rgb(72,11,105)
-
#540d7b
#540d7b
rgb(84,13,123)
-
#600f8d
#600f8d
rgb(96,15,141)
-
#6c119e
#6c119e
rgb(108,17,158)
-
#7813b0
#7813b0
rgb(120,19,176)
-
#8415c2
#8415c2
rgb(132,21,194)
-
#9116d4
#9116d4
rgb(145,22,212)
-
#9d18e5
#9d18e5
rgb(157,24,229)
Shade Color Variation
-
#a529e8
#a529e8
rgb(165,41,232)
-
#ac3bea
#ac3bea
rgb(172,59,234)
-
#b44cec
#b44cec
rgb(180,76,236)
-
#bb5eee
#bb5eee
rgb(187,94,238)
-
#c370f0
#c370f0
rgb(195,112,240)
-
#ca82f2
#ca82f2
rgb(202,130,242)
-
#d293f4
#d293f4
rgb(210,147,244)
-
#d9a5f6
#d9a5f6
rgb(217,165,246)
-
#e1b7f7
#e1b7f7
rgb(225,183,247)
-
#e8c9f9
#e8c9f9
rgb(232,201,249)
-
#f0dafb
#f0dafb
rgb(240,218,251)
-
#f7ecfd
#f7ecfd
rgb(247,236,253)
-
#fffeff
#fffeff
rgb(255,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #454147 is the less saturated color, while #570385 is the most saturated one.
-
#454147
#454147
rgb(69,65,71)
-
#463c4c
#463c4c
rgb(70,60,76)
-
#483751
#483751
rgb(72,55,81)
-
#493256
#493256
rgb(73,50,86)
-
#4b2c5c
#4b2c5c
rgb(75,44,92)
-
#4c2761
#4c2761
rgb(76,39,97)
-
#4e2266
#4e2266
rgb(78,34,102)
-
#4f1d6b
#4f1d6b
rgb(79,29,107)
-
#511771
#511771
rgb(81,23,113)
-
#521276
#521276
rgb(82,18,118)
-
#540d7b
#540d7b
rgb(84,13,123)
-
#560880
#560880
rgb(86,8,128)
-
#570385
#570385
rgb(87,3,133)
Tone Color Variation
Below, you can see how #540d7b 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