#540c8f Color Information
In a RGB color space, hex #540c8f is composed of 32.9% red, 4.7% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 41.3% cyan, 91.6% magenta, 0% yellow and 43.9% black. It has a hue angle of 273 degrees, a saturation of 84.5% and a lightness of 30.4%. #540c8f color hex could be obtained by blending #a818ff with #00001f. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 56
-
- C 41
- M 92
- Y 0
- K 44
● #540c8f color description : Dark violet.
#540c8f Color Conversion
The hexadecimal color #540c8f has RGB values of R:84, G:12, B:143 and CMYK values of C:0.41, M:0.92, Y:0, K:0.44. Its decimal value is 5508239.
| Hex triplet | 540c8f | #540c8f |
|---|---|---|
| RGB Decimal | 84, 12, 143 | rgb(84,12,143) |
| RGB Percent | 32.9, 4.7, 56.1 | rgb(32.9%,4.7%,56.1%) |
| CMYK | 41, 92, 0, 44 | |
| HSL | 273°, 84.5, 30.4 | hsl(273,84.5%,30.4%) |
| HSV (or HSB) | 273°, 91.6, 56.1 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 24.1, 52.877, -55.452 |
|---|---|
| XYZ | 8.745, 4.131, 26.322 |
| xyY | 0.223, 0.105, 4.131 |
| CIE-LCH | 24.1, 76.622, 313.639 |
| CIE-LUV | 24.1, 11.235, -68.906 |
| Hunter-Lab | 20.325, 41.231, -62.556 |
| Binary | 01010100, 00001100, 10001111 |
Color Schemes with #540c8f
Alternatives to #540c8f
Below, you can see some colors close to #540c8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c8f Preview
This text has a font color of #540c8f.
<span style="color:#540c8f;">Text here</span>
This paragraph has a background color of #540c8f.
<p style="background-color:#540c8f;">Content here</p>
This element has a border color of #540c8f.
<div style="border:1px solid #540c8f;">Content here</div>
.text {color:#540c8f;}
.background {background-color:#540c8f;}
.border {border:1px solid #540c8f;}
Shades and Tints of #540c8f
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, #0a0110 is the darkest color, while #fefdff is the lightest one.
-
#0a0110
#0a0110rgb(10,1,16) -
#140322
#140322rgb(20,3,34) -
#1f0435
#1f0435rgb(31,4,53) -
#290647
#290647rgb(41,6,71) -
#340759
#340759rgb(52,7,89) -
#3f096b
#3f096brgb(63,9,107) -
#490a7d
#490a7drgb(73,10,125) -
#540c8f
#540c8frgb(84,12,143) -
#5f0ea1
#5f0ea1rgb(95,14,161) -
#690fb3
#690fb3rgb(105,15,179) -
#7411c5
#7411c5rgb(116,17,197) -
#7f12d7
#7f12d7rgb(127,18,215) -
#8914e9
#8914e9rgb(137,20,233)
-
#9224ed
#9224edrgb(146,36,237) -
#9b36ee
#9b36eergb(155,54,238) -
#a448f0
#a448f0rgb(164,72,240) -
#ad5af1
#ad5af1rgb(173,90,241) -
#b66cf3
#b66cf3rgb(182,108,243) -
#bf7ff4
#bf7ff4rgb(191,127,244) -
#c891f6
#c891f6rgb(200,145,246) -
#d1a3f7
#d1a3f7rgb(209,163,247) -
#dab5f9
#dab5f9rgb(218,181,249) -
#e3c7fa
#e3c7fargb(227,199,250) -
#ecd9fc
#ecd9fcrgb(236,217,252) -
#f5ebfd
#f5ebfdrgb(245,235,253) -
#fefdff
#fefdffrgb(254,253,255)
Tones of #540c8f
A tone is produced by adding gray to any pure hue. In this case, #4e4853 is the less saturated color, while #55009b is the most saturated one.
-
#4e4853
#4e4853rgb(78,72,83) -
#4f4259
#4f4259rgb(79,66,89) -
#4f3c5f
#4f3c5frgb(79,60,95) -
#503665
#503665rgb(80,54,101) -
#50306b
#50306brgb(80,48,107) -
#512a71
#512a71rgb(81,42,113) -
#522477
#522477rgb(82,36,119) -
#521e7d
#521e7drgb(82,30,125) -
#531883
#531883rgb(83,24,131) -
#531289
#531289rgb(83,18,137) -
#540c8f
#540c8frgb(84,12,143) -
#550695
#550695rgb(85,6,149) -
#55009b
#55009brgb(85,0,155)
Color Blindness Simulator
Below, you can see how #540c8f 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.
