#540c8b Color Information
In a RGB color space, hex #540c8b is composed of 32.9% red, 4.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 91.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 274 degrees, a saturation of 84.1% and a lightness of 29.6%. #540c8b color hex could be obtained by blending #a818ff with #000017. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 55
-
- C 40
- M 91
- Y 0
- K 45
● #540c8b color description : Dark violet.
#540c8b Color Conversion
The hexadecimal color #540c8b has RGB values of R:84, G:12, B:139 and CMYK values of C:0.4, M:0.91, Y:0, K:0.45. Its decimal value is 5508235.
Hex triplet | 540c8b | #540c8b |
---|---|---|
RGB Decimal | 84, 12, 139 | rgb(84,12,139) |
RGB Percent | 32.9, 4.7, 54.5 | rgb(32.9%,4.7%,54.5%) |
CMYK | 40, 91, 0, 45 | |
HSL | 274°, 84.1, 29.6 | hsl(274,84.1%,29.6%) |
HSV (or HSB) | 274°, 91.4, 54.5 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.711, 51.963, -53.598 |
---|---|
XYZ | 8.447, 4.012, 24.754 |
xyY | 0.227, 0.108, 4.012 |
CIE-LCH | 23.711, 74.652, 314.113 |
CIE-LUV | 23.711, 11.907, -66.469 |
Hunter-Lab | 20.03, 40.226, -59.253 |
Binary | 01010100, 00001100, 10001011 |
Color Schemes with #540c8b
Alternatives to #540c8b
Below, you can see some colors close to #540c8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c8b Preview
This text has a font color of #540c8b.
<span style="color:#540c8b;">Text here</span>
This paragraph has a background color of #540c8b.
<p style="background-color:#540c8b;">Content here</p>
This element has a border color of #540c8b.
<div style="border:1px solid #540c8b;">Content here</div>
.text {color:#540c8b;}
.background {background-color:#540c8b;}
.border {border:1px solid #540c8b;}
Shades and Tints of #540c8b
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, #08010d is the darkest color, while #fcfaff is the lightest one.
-
#08010d
#08010d
rgb(8,1,13)
-
#13031f
#13031f
rgb(19,3,31)
-
#1d0431
#1d0431
rgb(29,4,49)
-
#280643
#280643
rgb(40,6,67)
-
#330755
#330755
rgb(51,7,85)
-
#3e0967
#3e0967
rgb(62,9,103)
-
#490a79
#490a79
rgb(73,10,121)
-
#540c8b
#540c8b
rgb(84,12,139)
-
#5f0e9d
#5f0e9d
rgb(95,14,157)
-
#6a0faf
#6a0faf
rgb(106,15,175)
-
#7511c1
#7511c1
rgb(117,17,193)
-
#8012d3
#8012d3
rgb(128,18,211)
-
#8b14e5
#8b14e5
rgb(139,20,229)
-
#9421ec
#9421ec
rgb(148,33,236)
-
#9d33ed
#9d33ed
rgb(157,51,237)
-
#a545ef
#a545ef
rgb(165,69,239)
-
#ae57f0
#ae57f0
rgb(174,87,240)
-
#b769f2
#b769f2
rgb(183,105,242)
-
#bf7bf4
#bf7bf4
rgb(191,123,244)
-
#c88df5
#c88df5
rgb(200,141,245)
-
#d19ff7
#d19ff7
rgb(209,159,247)
-
#dab1f8
#dab1f8
rgb(218,177,248)
-
#e2c3fa
#e2c3fa
rgb(226,195,250)
-
#ebd5fb
#ebd5fb
rgb(235,213,251)
-
#f4e7fd
#f4e7fd
rgb(244,231,253)
-
#fcfaff
#fcfaff
rgb(252,250,255)
Tones of #540c8b
A tone is produced by adding gray to any pure hue. In this case, #4c4651 is the less saturated color, while #560097 is the most saturated one.
-
#4c4651
#4c4651
rgb(76,70,81)
-
#4d4057
#4d4057
rgb(77,64,87)
-
#4e3a5d
#4e3a5d
rgb(78,58,93)
-
#4f3562
#4f3562
rgb(79,53,98)
-
#4f2f68
#4f2f68
rgb(79,47,104)
-
#50296e
#50296e
rgb(80,41,110)
-
#512374
#512374
rgb(81,35,116)
-
#521d7a
#521d7a
rgb(82,29,122)
-
#52187f
#52187f
rgb(82,24,127)
-
#531285
#531285
rgb(83,18,133)
-
#540c8b
#540c8b
rgb(84,12,139)
-
#550691
#550691
rgb(85,6,145)
-
#560097
#560097
rgb(86,0,151)
Color Blindness Simulator
Below, you can see how #540c8b 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.