#540c8e hex color
In a RGB color space, hex #540c8e is composed of 32.9% red, 4.7% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 91.5% magenta, 0% yellow and 44.3% black. It has a hue angle of 273.2 degrees, a saturation of 84.4% and a lightness of 30.2%. #540c8e color hex could be obtained by blending #a818ff with #00001d. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 56
RGB color chart
-
- C 41
- M 92
- Y 0
- K 44
CMYK color chart
● #540c8e color description : Dark violet.
The hexadecimal color #540c8e has RGB values of R:84, G:12, B:142 and CMYK values of C:0.41, M:0.92, Y:0, K:0.44. Its decimal value is 5508238.
Hex triplet | 540c8e | #540c8e |
---|---|---|
RGB Decimal | 84, 12, 142 | rgb(84,12,142) |
RGB Percent | 32.9, 4.7, 55.7 | rgb(32.9%,4.7%,55.7%) |
CMYK | 41, 92, 0, 44 | |
HSL | 273.2°, 84.4, 30.2 | hsl(273.2,84.4%,30.2%) |
HSV (or HSB) | 273.2°, 91.5, 55.7 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 24.002, 52.648, -54.991 |
---|---|
XYZ | 8.669, 4.101, 25.925 |
xyY | 0.224, 0.106, 4.101 |
CIE-LCH | 24.002, 76.13, 313.753 |
CIE-LUV | 24.002, 11.401, -68.298 |
Hunter-Lab | 20.251, 40.978, -61.727 |
Binary | 01010100, 00001100, 10001110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540c8e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540c8e
This text has a font color of #540c8e.
<span style="color:#540c8e;">Text here</span>
#540c8e background color
This paragraph has a background color of #540c8e.
<p style="background-color:#540c8e;">Content here</p>
#540c8e border color
This element has a border color of #540c8e.
<div style="border:1px solid #540c8e;">Content here</div>
CSS codes
.text {color:#540c8e;}
.background {background-color:#540c8e;}
.border {border:1px solid #540c8e;}
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, #09010f is the darkest color, while #fefcff is the lightest one.
-
#09010f
#09010f
rgb(9,1,15)
-
#140321
#140321
rgb(20,3,33)
-
#1f0434
#1f0434
rgb(31,4,52)
-
#290646
#290646
rgb(41,6,70)
-
#340758
#340758
rgb(52,7,88)
-
#3f096a
#3f096a
rgb(63,9,106)
-
#490a7c
#490a7c
rgb(73,10,124)
-
#540c8e
#540c8e
rgb(84,12,142)
-
#5f0ea0
#5f0ea0
rgb(95,14,160)
-
#690fb2
#690fb2
rgb(105,15,178)
-
#7411c4
#7411c4
rgb(116,17,196)
-
#7f12d6
#7f12d6
rgb(127,18,214)
-
#8914e8
#8914e8
rgb(137,20,232)
Shade Color Variation
-
#9323ec
#9323ec
rgb(147,35,236)
-
#9c35ee
#9c35ee
rgb(156,53,238)
-
#a547ef
#a547ef
rgb(165,71,239)
-
#ad5af1
#ad5af1
rgb(173,90,241)
-
#b66cf3
#b66cf3
rgb(182,108,243)
-
#bf7ef4
#bf7ef4
rgb(191,126,244)
-
#c890f6
#c890f6
rgb(200,144,246)
-
#d1a2f7
#d1a2f7
rgb(209,162,247)
-
#dab4f9
#dab4f9
rgb(218,180,249)
-
#e3c6fa
#e3c6fa
rgb(227,198,250)
-
#ecd8fc
#ecd8fc
rgb(236,216,252)
-
#f5eafd
#f5eafd
rgb(245,234,253)
-
#fefcff
#fefcff
rgb(254,252,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4e4753 is the less saturated color, while #55009a is the most saturated one.
-
#4e4753
#4e4753
rgb(78,71,83)
-
#4e4159
#4e4159
rgb(78,65,89)
-
#4f3b5f
#4f3b5f
rgb(79,59,95)
-
#503565
#503565
rgb(80,53,101)
-
#50306a
#50306a
rgb(80,48,106)
-
#512a70
#512a70
rgb(81,42,112)
-
#512476
#512476
rgb(81,36,118)
-
#521e7c
#521e7c
rgb(82,30,124)
-
#531882
#531882
rgb(83,24,130)
-
#531288
#531288
rgb(83,18,136)
-
#540c8e
#540c8e
rgb(84,12,142)
-
#550694
#550694
rgb(85,6,148)
-
#55009a
#55009a
rgb(85,0,154)
Tone Color Variation
Below, you can see how #540c8e 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.
Monochromacy
Dichromacy