#540040 Color Information
In a RGB color space, hex #540040 is composed of 32.9% red, 0% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 100% magenta, 23.8% yellow and 67.1% black. It has a hue angle of 314.3 degrees, a saturation of 100% and a lightness of 16.5%. #540040 color hex could be obtained by blending #a80080 with #000000. Closest websafe color is: #660033.
-
- R 33
- G 0
- B 25
-
- C 0
- M 100
- Y 24
- K 67
● #540040 color description : Very dark magenta.
#540040 Color Conversion
The hexadecimal color #540040 has RGB values of R:84, G:0, B:64 and CMYK values of C:0, M:1, Y:0.24, K:0.67. Its decimal value is 5505088.
Hex triplet | 540040 | #540040 |
---|---|---|
RGB Decimal | 84, 0, 64 | rgb(84,0,64) |
RGB Percent | 32.9, 0, 25.1 | rgb(32.9%,0%,25.1%) |
CMYK | 0, 100, 24, 67 | |
HSL | 314.3°, 100, 16.5 | hsl(314.3,100%,16.5%) |
HSV (or HSB) | 314.3°, 100, 32.9 | |
Web Safe | 660033 | #660033 |
CIE-LAB | 16.774, 40.7, -15.323 |
---|---|
XYZ | 4.582, 2.255, 5.044 |
xyY | 0.386, 0.19, 2.255 |
CIE-LCH | 16.774, 43.489, 339.369 |
CIE-LUV | 16.774, 31.493, -19.461 |
Hunter-Lab | 15.018, 28.174, -9.402 |
Binary | 01010100, 00000000, 01000000 |
Color Schemes with #540040
Alternatives to #540040
Below, you can see some colors close to #540040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540040 Preview
This text has a font color of #540040.
<span style="color:#540040;">Text here</span>
This paragraph has a background color of #540040.
<p style="background-color:#540040;">Content here</p>
This element has a border color of #540040.
<div style="border:1px solid #540040;">Content here</div>
.text {color:#540040;}
.background {background-color:#540040;}
.border {border:1px solid #540040;}
Shades and Tints of #540040
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, #060004 is the darkest color, while #fff1fc is the lightest one.
-
#060004
#060004
rgb(6,0,4)
-
#190013
#190013
rgb(25,0,19)
-
#2d0022
#2d0022
rgb(45,0,34)
-
#400031
#400031
rgb(64,0,49)
-
#540040
#540040
rgb(84,0,64)
-
#68004f
#68004f
rgb(104,0,79)
-
#7b005e
#7b005e
rgb(123,0,94)
-
#8f006d
#8f006d
rgb(143,0,109)
-
#a2007c
#a2007c
rgb(162,0,124)
-
#b6008b
#b6008b
rgb(182,0,139)
-
#ca009a
#ca009a
rgb(202,0,154)
-
#dd00a9
#dd00a9
rgb(221,0,169)
-
#f100b8
#f100b8
rgb(241,0,184)
-
#ff06c4
#ff06c4
rgb(255,6,196)
-
#ff19c8
#ff19c8
rgb(255,25,200)
-
#ff2dcd
#ff2dcd
rgb(255,45,205)
-
#ff40d2
#ff40d2
rgb(255,64,210)
-
#ff54d6
#ff54d6
rgb(255,84,214)
-
#ff68db
#ff68db
rgb(255,104,219)
-
#ff7be0
#ff7be0
rgb(255,123,224)
-
#ff8fe4
#ff8fe4
rgb(255,143,228)
-
#ffa2e9
#ffa2e9
rgb(255,162,233)
-
#ffb6ee
#ffb6ee
rgb(255,182,238)
-
#ffcaf2
#ffcaf2
rgb(255,202,242)
-
#ffddf7
#ffddf7
rgb(255,221,247)
-
#fff1fc
#fff1fc
rgb(255,241,252)
Tones of #540040
A tone is produced by adding gray to any pure hue. In this case, #2d272c is the less saturated color, while #540040 is the most saturated one.
-
#2d272c
#2d272c
rgb(45,39,44)
-
#30242d
#30242d
rgb(48,36,45)
-
#34202f
#34202f
rgb(52,32,47)
-
#371d31
#371d31
rgb(55,29,49)
-
#3a1a32
#3a1a32
rgb(58,26,50)
-
#3d1734
#3d1734
rgb(61,23,52)
-
#411336
#411336
rgb(65,19,54)
-
#441038
#441038
rgb(68,16,56)
-
#470d39
#470d39
rgb(71,13,57)
-
#4a0a3b
#4a0a3b
rgb(74,10,59)
-
#4e063d
#4e063d
rgb(78,6,61)
-
#51033e
#51033e
rgb(81,3,62)
-
#540040
#540040
rgb(84,0,64)
Color Blindness Simulator
Below, you can see how #540040 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.