#540c8b Color Information
In a RGB color space, hex #540c8b is composed of 32.9% red, 4.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 91.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 274 degrees, a saturation of 84.1% and a lightness of 29.6%. #540c8b color hex could be obtained by blending #a818ff with #000017. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 55
-
- C 40
- M 91
- Y 0
- K 45
● #540c8b color description : Dark violet.
#540c8b Color Conversion
The hexadecimal color #540c8b has RGB values of R:84, G:12, B:139 and CMYK values of C:0.4, M:0.91, Y:0, K:0.45. Its decimal value is 5508235.
| Hex triplet | 540c8b | #540c8b |
|---|---|---|
| RGB Decimal | 84, 12, 139 | rgb(84,12,139) |
| RGB Percent | 32.9, 4.7, 54.5 | rgb(32.9%,4.7%,54.5%) |
| CMYK | 40, 91, 0, 45 | |
| HSL | 274°, 84.1, 29.6 | hsl(274,84.1%,29.6%) |
| HSV (or HSB) | 274°, 91.4, 54.5 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 23.711, 51.963, -53.598 |
|---|---|
| XYZ | 8.447, 4.012, 24.754 |
| xyY | 0.227, 0.108, 4.012 |
| CIE-LCH | 23.711, 74.652, 314.113 |
| CIE-LUV | 23.711, 11.907, -66.469 |
| Hunter-Lab | 20.03, 40.226, -59.253 |
| Binary | 01010100, 00001100, 10001011 |
Color Schemes with #540c8b
Alternatives to #540c8b
Below, you can see some colors close to #540c8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c8b Preview
This text has a font color of #540c8b.
<span style="color:#540c8b;">Text here</span>
This paragraph has a background color of #540c8b.
<p style="background-color:#540c8b;">Content here</p>
This element has a border color of #540c8b.
<div style="border:1px solid #540c8b;">Content here</div>
.text {color:#540c8b;}
.background {background-color:#540c8b;}
.border {border:1px solid #540c8b;}
Shades and Tints of #540c8b
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, #08010d is the darkest color, while #fcfaff is the lightest one.
-
#08010d
#08010drgb(8,1,13) -
#13031f
#13031frgb(19,3,31) -
#1d0431
#1d0431rgb(29,4,49) -
#280643
#280643rgb(40,6,67) -
#330755
#330755rgb(51,7,85) -
#3e0967
#3e0967rgb(62,9,103) -
#490a79
#490a79rgb(73,10,121) -
#540c8b
#540c8brgb(84,12,139) -
#5f0e9d
#5f0e9drgb(95,14,157) -
#6a0faf
#6a0fafrgb(106,15,175) -
#7511c1
#7511c1rgb(117,17,193) -
#8012d3
#8012d3rgb(128,18,211) -
#8b14e5
#8b14e5rgb(139,20,229)
-
#9421ec
#9421ecrgb(148,33,236) -
#9d33ed
#9d33edrgb(157,51,237) -
#a545ef
#a545efrgb(165,69,239) -
#ae57f0
#ae57f0rgb(174,87,240) -
#b769f2
#b769f2rgb(183,105,242) -
#bf7bf4
#bf7bf4rgb(191,123,244) -
#c88df5
#c88df5rgb(200,141,245) -
#d19ff7
#d19ff7rgb(209,159,247) -
#dab1f8
#dab1f8rgb(218,177,248) -
#e2c3fa
#e2c3fargb(226,195,250) -
#ebd5fb
#ebd5fbrgb(235,213,251) -
#f4e7fd
#f4e7fdrgb(244,231,253) -
#fcfaff
#fcfaffrgb(252,250,255)
Tones of #540c8b
A tone is produced by adding gray to any pure hue. In this case, #4c4651 is the less saturated color, while #560097 is the most saturated one.
-
#4c4651
#4c4651rgb(76,70,81) -
#4d4057
#4d4057rgb(77,64,87) -
#4e3a5d
#4e3a5drgb(78,58,93) -
#4f3562
#4f3562rgb(79,53,98) -
#4f2f68
#4f2f68rgb(79,47,104) -
#50296e
#50296ergb(80,41,110) -
#512374
#512374rgb(81,35,116) -
#521d7a
#521d7argb(82,29,122) -
#52187f
#52187frgb(82,24,127) -
#531285
#531285rgb(83,18,133) -
#540c8b
#540c8brgb(84,12,139) -
#550691
#550691rgb(85,6,145) -
#560097
#560097rgb(86,0,151)
Color Blindness Simulator
Below, you can see how #540c8b 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.
