#540c9f Color Information
In a RGB color space, hex #540c9f is composed of 32.9% red, 4.7% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 47.2% cyan, 92.5% magenta, 0% yellow and 37.6% black. It has a hue angle of 269.4 degrees, a saturation of 86% and a lightness of 33.5%. #540c9f color hex could be obtained by blending #a818ff with #00003f. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 62
-
- C 47
- M 92
- Y 0
- K 38
● #540c9f color description : Dark violet.
#540c9f Color Conversion
The hexadecimal color #540c9f has RGB values of R:84, G:12, B:159 and CMYK values of C:0.47, M:0.92, Y:0, K:0.38. Its decimal value is 5508255.
| Hex triplet | 540c9f | #540c9f |
|---|---|---|
| RGB Decimal | 84, 12, 159 | rgb(84,12,159) |
| RGB Percent | 32.9, 4.7, 62.4 | rgb(32.9%,4.7%,62.4%) |
| CMYK | 47, 92, 0, 38 | |
| HSL | 269.4°, 86, 33.5 | hsl(269.4,86%,33.5%) |
| HSV (or HSB) | 269.4°, 92.5, 62.4 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 25.716, 56.582, -62.645 |
|---|---|
| XYZ | 10.045, 4.651, 33.167 |
| xyY | 0.21, 0.097, 4.651 |
| CIE-LCH | 25.716, 84.415, 312.089 |
| CIE-LUV | 25.716, 8.769, -78.528 |
| Hunter-Lab | 21.566, 45.397, -76.089 |
| Binary | 01010100, 00001100, 10011111 |
Color Schemes with #540c9f
Alternatives to #540c9f
Below, you can see some colors close to #540c9f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9f Preview
This text has a font color of #540c9f.
<span style="color:#540c9f;">Text here</span>
This paragraph has a background color of #540c9f.
<p style="background-color:#540c9f;">Content here</p>
This element has a border color of #540c9f.
<div style="border:1px solid #540c9f;">Content here</div>
.text {color:#540c9f;}
.background {background-color:#540c9f;}
.border {border:1px solid #540c9f;}
Shades and Tints of #540c9f
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, #07010d is the darkest color, while #fcfaff is the lightest one.
-
#07010d
#07010drgb(7,1,13) -
#11021f
#11021frgb(17,2,31) -
#1a0432
#1a0432rgb(26,4,50) -
#240544
#240544rgb(36,5,68) -
#2d0656
#2d0656rgb(45,6,86) -
#370868
#370868rgb(55,8,104) -
#41097b
#41097brgb(65,9,123) -
#4a0b8d
#4a0b8drgb(74,11,141) -
#540c9f
#540c9frgb(84,12,159) -
#5e0db1
#5e0db1rgb(94,13,177) -
#670fc3
#670fc3rgb(103,15,195) -
#7110d6
#7110d6rgb(113,16,214) -
#7b12e8
#7b12e8rgb(123,18,232)
-
#841fee
#841feergb(132,31,238) -
#8e31ef
#8e31efrgb(142,49,239) -
#9843f1
#9843f1rgb(152,67,241) -
#a256f2
#a256f2rgb(162,86,242) -
#ac68f4
#ac68f4rgb(172,104,244) -
#b67af5
#b67af5rgb(182,122,245) -
#c08cf6
#c08cf6rgb(192,140,246) -
#ca9ff8
#ca9ff8rgb(202,159,248) -
#d4b1f9
#d4b1f9rgb(212,177,249) -
#dec3fa
#dec3fargb(222,195,250) -
#e8d5fc
#e8d5fcrgb(232,213,252) -
#f2e8fd
#f2e8fdrgb(242,232,253) -
#fcfaff
#fcfaffrgb(252,250,255)
Tones of #540c9f
A tone is produced by adding gray to any pure hue. In this case, #555457 is the less saturated color, while #5405a6 is the most saturated one.
-
#555457
#555457rgb(85,84,87) -
#554e5d
#554e5drgb(85,78,93) -
#554764
#554764rgb(85,71,100) -
#55416a
#55416argb(85,65,106) -
#553a71
#553a71rgb(85,58,113) -
#553378
#553378rgb(85,51,120) -
#552d7e
#552d7ergb(85,45,126) -
#552685
#552685rgb(85,38,133) -
#54208b
#54208brgb(84,32,139) -
#541992
#541992rgb(84,25,146) -
#541398
#541398rgb(84,19,152) -
#540c9f
#540c9frgb(84,12,159) -
#5405a6
#5405a6rgb(84,5,166)
Color Blindness Simulator
Below, you can see how #540c9f 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.
