#540c8d Color Information
In a RGB color space, hex #540c8d is composed of 32.9% red, 4.7% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 40.4% cyan, 91.5% magenta, 0% yellow and 44.7% black. It has a hue angle of 273.5 degrees, a saturation of 84.3% and a lightness of 30%. #540c8d color hex could be obtained by blending #a818ff with #00001b. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 55
-
- C 40
- M 91
- Y 0
- K 45
● #540c8d color description : Dark violet.
#540c8d Color Conversion
The hexadecimal color #540c8d has RGB values of R:84, G:12, B:141 and CMYK values of C:0.4, M:0.91, Y:0, K:0.45. Its decimal value is 5508237.
Hex triplet | 540c8d | #540c8d |
---|---|---|
RGB Decimal | 84, 12, 141 | rgb(84,12,141) |
RGB Percent | 32.9, 4.7, 55.3 | rgb(32.9%,4.7%,55.3%) |
CMYK | 40, 91, 0, 45 | |
HSL | 273.5°, 84.3, 30 | hsl(273.5,84.3%,30%) |
HSV (or HSB) | 273.5°, 91.5, 55.3 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.905, 52.419, -54.528 |
---|---|
XYZ | 8.595, 4.071, 25.531 |
xyY | 0.225, 0.107, 4.071 |
CIE-LCH | 23.905, 75.638, 313.871 |
CIE-LUV | 23.905, 11.568, -67.689 |
Hunter-Lab | 20.177, 40.726, -60.9 |
Binary | 01010100, 00001100, 10001101 |
Color Schemes with #540c8d
Alternatives to #540c8d
Below, you can see some colors close to #540c8d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c8d Preview
This text has a font color of #540c8d.
<span style="color:#540c8d;">Text here</span>
This paragraph has a background color of #540c8d.
<p style="background-color:#540c8d;">Content here</p>
This element has a border color of #540c8d.
<div style="border:1px solid #540c8d;">Content here</div>
.text {color:#540c8d;}
.background {background-color:#540c8d;}
.border {border:1px solid #540c8d;}
Shades and Tints of #540c8d
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, #09010e is the darkest color, while #fdfbff is the lightest one.
-
#09010e
#09010e
rgb(9,1,14)
-
#130321
#130321
rgb(19,3,33)
-
#1e0433
#1e0433
rgb(30,4,51)
-
#290645
#290645
rgb(41,6,69)
-
#340757
#340757
rgb(52,7,87)
-
#3e0969
#3e0969
rgb(62,9,105)
-
#490a7b
#490a7b
rgb(73,10,123)
-
#540c8d
#540c8d
rgb(84,12,141)
-
#5f0e9f
#5f0e9f
rgb(95,14,159)
-
#6a0fb1
#6a0fb1
rgb(106,15,177)
-
#7411c3
#7411c3
rgb(116,17,195)
-
#7f12d5
#7f12d5
rgb(127,18,213)
-
#8a14e7
#8a14e7
rgb(138,20,231)
-
#9322ec
#9322ec
rgb(147,34,236)
-
#9c35ee
#9c35ee
rgb(156,53,238)
-
#a547ef
#a547ef
rgb(165,71,239)
-
#ae59f1
#ae59f1
rgb(174,89,241)
-
#b66bf2
#b66bf2
rgb(182,107,242)
-
#bf7df4
#bf7df4
rgb(191,125,244)
-
#c88ff5
#c88ff5
rgb(200,143,245)
-
#d1a1f7
#d1a1f7
rgb(209,161,247)
-
#dab3f9
#dab3f9
rgb(218,179,249)
-
#e3c5fa
#e3c5fa
rgb(227,197,250)
-
#ecd7fc
#ecd7fc
rgb(236,215,252)
-
#f4e9fd
#f4e9fd
rgb(244,233,253)
-
#fdfbff
#fdfbff
rgb(253,251,255)
Tones of #540c8d
A tone is produced by adding gray to any pure hue. In this case, #4d4752 is the less saturated color, while #550099 is the most saturated one.
-
#4d4752
#4d4752
rgb(77,71,82)
-
#4e4158
#4e4158
rgb(78,65,88)
-
#4f3b5e
#4f3b5e
rgb(79,59,94)
-
#4f3564
#4f3564
rgb(79,53,100)
-
#502f6a
#502f6a
rgb(80,47,106)
-
#512970
#512970
rgb(81,41,112)
-
#512475
#512475
rgb(81,36,117)
-
#521e7b
#521e7b
rgb(82,30,123)
-
#531881
#531881
rgb(83,24,129)
-
#531287
#531287
rgb(83,18,135)
-
#540c8d
#540c8d
rgb(84,12,141)
-
#550693
#550693
rgb(85,6,147)
-
#550099
#550099
rgb(85,0,153)
Color Blindness Simulator
Below, you can see how #540c8d 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.