#540140 hex color
In a RGB color space, hex #540140 is composed of 32.9% red, 0.4% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 98.8% magenta, 23.8% yellow and 67.1% black. It has a hue angle of 314.5 degrees, a saturation of 97.6% and a lightness of 16.7%. #540140 color hex could be obtained by blending #a80280 with #000000. Closest websafe color is: #660033.
-
- R 33
- G 0
- B 25
RGB color chart
-
- C 0
- M 99
- Y 24
- K 67
CMYK color chart
● #540140 color description : Very dark magenta.
The hexadecimal color #540140 has RGB values of R:84, G:1, B:64 and CMYK values of C:0, M:0.99, Y:0.24, K:0.67. Its decimal value is 5505344.
Hex triplet | 540140 | #540140 |
---|---|---|
RGB Decimal | 84, 1, 64 | rgb(84,1,64) |
RGB Percent | 32.9, 0.4, 25.1 | rgb(32.9%,0.4%,25.1%) |
CMYK | 0, 99, 24, 67 | |
HSL | 314.5°, 97.6, 16.7 | hsl(314.5,97.6%,16.7%) |
HSV (or HSB) | 314.5°, 98.8, 32.9 | |
Web Safe | 660033 | #660033 |
CIE-LAB | 16.879, 40.392, -15.16 |
---|---|
XYZ | 4.592, 2.277, 5.048 |
xyY | 0.385, 0.191, 2.277 |
CIE-LCH | 16.879, 43.143, 339.428 |
CIE-LUV | 16.879, 31.382, -19.323 |
Hunter-Lab | 15.09, 27.916, -9.27 |
Binary | 01010100, 00000001, 01000000 |
Split Complementary Color
Below, you can see some colors close to #540140. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540140
This text has a font color of #540140.
<span style="color:#540140;">Text here</span>
#540140 background color
This paragraph has a background color of #540140.
<p style="background-color:#540140;">Content here</p>
#540140 border color
This element has a border color of #540140.
<div style="border:1px solid #540140;">Content here</div>
CSS codes
.text {color:#540140;}
.background {background-color:#540140;}
.border {border:1px solid #540140;}
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, #060005 is the darkest color, while #fff2fc is the lightest one.
-
#060005
#060005
rgb(6,0,5)
-
#1a0014
#1a0014
rgb(26,0,20)
-
#2d0122
#2d0122
rgb(45,1,34)
-
#410131
#410131
rgb(65,1,49)
-
#540140
#540140
rgb(84,1,64)
-
#67014f
#67014f
rgb(103,1,79)
-
#7b015e
#7b015e
rgb(123,1,94)
-
#8e026c
#8e026c
rgb(142,2,108)
-
#a2027b
#a2027b
rgb(162,2,123)
-
#b5028a
#b5028a
rgb(181,2,138)
-
#c80299
#c80299
rgb(200,2,153)
-
#dc03a7
#dc03a7
rgb(220,3,167)
-
#ef03b6
#ef03b6
rgb(239,3,182)
Shade Color Variation
-
#fc09c2
#fc09c2
rgb(252,9,194)
-
#fc1dc6
#fc1dc6
rgb(252,29,198)
-
#fd30cb
#fd30cb
rgb(253,48,203)
-
#fd44d0
#fd44d0
rgb(253,68,208)
-
#fd57d5
#fd57d5
rgb(253,87,213)
-
#fd6ada
#fd6ada
rgb(253,106,218)
-
#fd7edf
#fd7edf
rgb(253,126,223)
-
#fe91e4
#fe91e4
rgb(254,145,228)
-
#fea5e8
#fea5e8
rgb(254,165,232)
-
#feb8ed
#feb8ed
rgb(254,184,237)
-
#fecbf2
#fecbf2
rgb(254,203,242)
-
#ffdff7
#ffdff7
rgb(255,223,247)
-
#fff2fc
#fff2fc
rgb(255,242,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2d282c is the less saturated color, while #540140 is the most saturated one.
-
#2d282c
#2d282c
rgb(45,40,44)
-
#30252d
#30252d
rgb(48,37,45)
-
#33222f
#33222f
rgb(51,34,47)
-
#371e31
#371e31
rgb(55,30,49)
-
#3a1b32
#3a1b32
rgb(58,27,50)
-
#3d1834
#3d1834
rgb(61,24,52)
-
#401536
#401536
rgb(64,21,54)
-
#441138
#441138
rgb(68,17,56)
-
#470e39
#470e39
rgb(71,14,57)
-
#4a0b3b
#4a0b3b
rgb(74,11,59)
-
#4d083d
#4d083d
rgb(77,8,61)
-
#51043e
#51043e
rgb(81,4,62)
-
#540140
#540140
rgb(84,1,64)
Tone Color Variation
Below, you can see how #540140 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