#540c9e Color Information
In a RGB color space, hex #540c9e is composed of 32.9% red, 4.7% green and 62% blue. Whereas in a CMYK color space, it is composed of 46.8% cyan, 92.4% magenta, 0% yellow and 38% black. It has a hue angle of 269.6 degrees, a saturation of 85.9% and a lightness of 33.3%. #540c9e color hex could be obtained by blending #a818ff with #00003d. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 62
-
- C 47
- M 92
- Y 0
- K 38
● #540c9e color description : Dark violet.
#540c9e Color Conversion
The hexadecimal color #540c9e has RGB values of R:84, G:12, B:158 and CMYK values of C:0.47, M:0.92, Y:0, K:0.38. Its decimal value is 5508254.
Hex triplet | 540c9e | #540c9e |
---|---|---|
RGB Decimal | 84, 12, 158 | rgb(84,12,158) |
RGB Percent | 32.9, 4.7, 62 | rgb(32.9%,4.7%,62%) |
CMYK | 47, 92, 0, 38 | |
HSL | 269.6°, 85.9, 33.3 | hsl(269.6,85.9%,33.3%) |
HSV (or HSB) | 269.6°, 92.4, 62 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.613, 56.348, -62.205 |
---|---|
XYZ | 9.958, 4.616, 32.712 |
xyY | 0.211, 0.098, 4.616 |
CIE-LCH | 25.613, 83.932, 312.172 |
CIE-LUV | 25.613, 8.914, -77.932 |
Hunter-Lab | 21.486, 45.131, -75.23 |
Binary | 01010100, 00001100, 10011110 |
Color Schemes with #540c9e
Alternatives to #540c9e
Below, you can see some colors close to #540c9e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9e Preview
This text has a font color of #540c9e.
<span style="color:#540c9e;">Text here</span>
This paragraph has a background color of #540c9e.
<p style="background-color:#540c9e;">Content here</p>
This element has a border color of #540c9e.
<div style="border:1px solid #540c9e;">Content here</div>
.text {color:#540c9e;}
.background {background-color:#540c9e;}
.border {border:1px solid #540c9e;}
Shades and Tints of #540c9e
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, #06010c is the darkest color, while #fcf9ff is the lightest one.
-
#06010c
#06010c
rgb(6,1,12)
-
#10021e
#10021e
rgb(16,2,30)
-
#1a0431
#1a0431
rgb(26,4,49)
-
#240543
#240543
rgb(36,5,67)
-
#2d0655
#2d0655
rgb(45,6,85)
-
#370867
#370867
rgb(55,8,103)
-
#41097a
#41097a
rgb(65,9,122)
-
#4a0b8c
#4a0b8c
rgb(74,11,140)
-
#540c9e
#540c9e
rgb(84,12,158)
-
#5e0db0
#5e0db0
rgb(94,13,176)
-
#670fc2
#670fc2
rgb(103,15,194)
-
#7110d5
#7110d5
rgb(113,16,213)
-
#7b12e7
#7b12e7
rgb(123,18,231)
-
#851eee
#851eee
rgb(133,30,238)
-
#8f30ef
#8f30ef
rgb(143,48,239)
-
#9843f1
#9843f1
rgb(152,67,241)
-
#a255f2
#a255f2
rgb(162,85,242)
-
#ac67f3
#ac67f3
rgb(172,103,243)
-
#b679f5
#b679f5
rgb(182,121,245)
-
#c08cf6
#c08cf6
rgb(192,140,246)
-
#ca9ef8
#ca9ef8
rgb(202,158,248)
-
#d4b0f9
#d4b0f9
rgb(212,176,249)
-
#dec2fa
#dec2fa
rgb(222,194,250)
-
#e8d4fc
#e8d4fc
rgb(232,212,252)
-
#f2e7fd
#f2e7fd
rgb(242,231,253)
-
#fcf9ff
#fcf9ff
rgb(252,249,255)
Tones of #540c9e
A tone is produced by adding gray to any pure hue. In this case, #555456 is the less saturated color, while #5405a5 is the most saturated one.
-
#555456
#555456
rgb(85,84,86)
-
#554d5d
#554d5d
rgb(85,77,93)
-
#554763
#554763
rgb(85,71,99)
-
#55406a
#55406a
rgb(85,64,106)
-
#553a70
#553a70
rgb(85,58,112)
-
#553377
#553377
rgb(85,51,119)
-
#542d7d
#542d7d
rgb(84,45,125)
-
#542684
#542684
rgb(84,38,132)
-
#54208a
#54208a
rgb(84,32,138)
-
#541991
#541991
rgb(84,25,145)
-
#541397
#541397
rgb(84,19,151)
-
#540c9e
#540c9e
rgb(84,12,158)
-
#5405a5
#5405a5
rgb(84,5,165)
Color Blindness Simulator
Below, you can see how #540c9e 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.