#540c9a Color Information
In a RGB color space, hex #540c9a is composed of 32.9% red, 4.7% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 92.2% magenta, 0% yellow and 39.6% black. It has a hue angle of 270.4 degrees, a saturation of 85.5% and a lightness of 32.5%. #540c9a color hex could be obtained by blending #a818ff with #000035. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 60
-
- C 45
- M 92
- Y 0
- K 40
● #540c9a color description : Dark violet.
#540c9a Color Conversion
The hexadecimal color #540c9a has RGB values of R:84, G:12, B:154 and CMYK values of C:0.45, M:0.92, Y:0, K:0.4. Its decimal value is 5508250.
| Hex triplet | 540c9a | #540c9a |
|---|---|---|
| RGB Decimal | 84, 12, 154 | rgb(84,12,154) |
| RGB Percent | 32.9, 4.7, 60.4 | rgb(32.9%,4.7%,60.4%) |
| CMYK | 45, 92, 0, 40 | |
| HSL | 270.4°, 85.5, 32.5 | hsl(270.4,85.5%,32.5%) |
| HSV (or HSB) | 270.4°, 92.2, 60.4 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 25.201, 55.417, -60.433 |
|---|---|
| XYZ | 9.619, 4.481, 30.928 |
| xyY | 0.214, 0.1, 4.481 |
| CIE-LCH | 25.201, 81.995, 312.521 |
| CIE-LUV | 25.201, 9.504, -75.542 |
| Hunter-Lab | 21.168, 44.072, -71.81 |
| Binary | 01010100, 00001100, 10011010 |
Color Schemes with #540c9a
Alternatives to #540c9a
Below, you can see some colors close to #540c9a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9a Preview
This text has a font color of #540c9a.
<span style="color:#540c9a;">Text here</span>
This paragraph has a background color of #540c9a.
<p style="background-color:#540c9a;">Content here</p>
This element has a border color of #540c9a.
<div style="border:1px solid #540c9a;">Content here</div>
.text {color:#540c9a;}
.background {background-color:#540c9a;}
.border {border:1px solid #540c9a;}
Shades and Tints of #540c9a
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, #050108 is the darkest color, while #faf5fe is the lightest one.
-
#050108
#050108rgb(5,1,8) -
#0f021b
#0f021brgb(15,2,27) -
#18032d
#18032drgb(24,3,45) -
#22053f
#22053frgb(34,5,63) -
#2c0651
#2c0651rgb(44,6,81) -
#360863
#360863rgb(54,8,99) -
#400976
#400976rgb(64,9,118) -
#4a0b88
#4a0b88rgb(74,11,136) -
#540c9a
#540c9argb(84,12,154) -
#5e0dac
#5e0dacrgb(94,13,172) -
#680fbe
#680fbergb(104,15,190) -
#7210d1
#7210d1rgb(114,16,209) -
#7c12e3
#7c12e3rgb(124,18,227)
-
#861bed
#861bedrgb(134,27,237) -
#8f2def
#8f2defrgb(143,45,239) -
#993ff0
#993ff0rgb(153,63,240) -
#a351f1
#a351f1rgb(163,81,241) -
#ac64f3
#ac64f3rgb(172,100,243) -
#b676f4
#b676f4rgb(182,118,244) -
#c088f6
#c088f6rgb(192,136,246) -
#c99af7
#c99af7rgb(201,154,247) -
#d3acf9
#d3acf9rgb(211,172,249) -
#ddbffa
#ddbffargb(221,191,250) -
#e6d1fb
#e6d1fbrgb(230,209,251) -
#f0e3fd
#f0e3fdrgb(240,227,253) -
#faf5fe
#faf5fergb(250,245,254)
Tones of #540c9a
A tone is produced by adding gray to any pure hue. In this case, #535254 is the less saturated color, while #5406a0 is the most saturated one.
-
#535254
#535254rgb(83,82,84) -
#534c5a
#534c5argb(83,76,90) -
#534561
#534561rgb(83,69,97) -
#533f67
#533f67rgb(83,63,103) -
#53396d
#53396drgb(83,57,109) -
#533274
#533274rgb(83,50,116) -
#542c7a
#542c7argb(84,44,122) -
#542680
#542680rgb(84,38,128) -
#541f87
#541f87rgb(84,31,135) -
#54198d
#54198drgb(84,25,141) -
#541294
#541294rgb(84,18,148) -
#540c9a
#540c9argb(84,12,154) -
#5406a0
#5406a0rgb(84,6,160)
Color Blindness Simulator
Below, you can see how #540c9a 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.
