#540042 Color Information
In a RGB color space, hex #540042 is composed of 32.9% red, 0% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 100% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 312.9 degrees, a saturation of 100% and a lightness of 16.5%. #540042 color hex could be obtained by blending #a80084 with #000000. Closest websafe color is: #660033.
-
- R 33
- G 0
- B 26
-
- C 0
- M 100
- Y 21
- K 67
● #540042 color description : Very dark magenta.
#540042 Color Conversion
The hexadecimal color #540042 has RGB values of R:84, G:0, B:66 and CMYK values of C:0, M:1, Y:0.21, K:0.67. Its decimal value is 5505090.
Hex triplet | 540042 | #540042 |
---|---|---|
RGB Decimal | 84, 0, 66 | rgb(84,0,66) |
RGB Percent | 32.9, 0, 25.9 | rgb(32.9%,0%,25.9%) |
CMYK | 0, 100, 21, 67 | |
HSL | 312.9°, 100, 16.5 | hsl(312.9,100%,16.5%) |
HSV (or HSB) | 312.9°, 100, 32.9 | |
Web Safe | 660033 | #660033 |
CIE-LAB | 16.886, 40.982, -16.551 |
---|---|
XYZ | 4.64, 2.279, 5.349 |
xyY | 0.378, 0.186, 2.279 |
CIE-LCH | 16.886, 44.198, 338.009 |
CIE-LUV | 16.886, 30.821, -20.76 |
Hunter-Lab | 15.095, 28.447, -10.445 |
Binary | 01010100, 00000000, 01000010 |
Color Schemes with #540042
Alternatives to #540042
Below, you can see some colors close to #540042. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540042 Preview
This text has a font color of #540042.
<span style="color:#540042;">Text here</span>
This paragraph has a background color of #540042.
<p style="background-color:#540042;">Content here</p>
This element has a border color of #540042.
<div style="border:1px solid #540042;">Content here</div>
.text {color:#540042;}
.background {background-color:#540042;}
.border {border:1px solid #540042;}
Shades and Tints of #540042
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)
-
#190014
#190014
rgb(25,0,20)
-
#2d0023
#2d0023
rgb(45,0,35)
-
#400033
#400033
rgb(64,0,51)
-
#540042
#540042
rgb(84,0,66)
-
#680051
#680051
rgb(104,0,81)
-
#7b0061
#7b0061
rgb(123,0,97)
-
#8f0070
#8f0070
rgb(143,0,112)
-
#a20080
#a20080
rgb(162,0,128)
-
#b6008f
#b6008f
rgb(182,0,143)
-
#ca009e
#ca009e
rgb(202,0,158)
-
#dd00ae
#dd00ae
rgb(221,0,174)
-
#f100bd
#f100bd
rgb(241,0,189)
-
#ff06ca
#ff06ca
rgb(255,6,202)
-
#ff19ce
#ff19ce
rgb(255,25,206)
-
#ff2dd2
#ff2dd2
rgb(255,45,210)
-
#ff40d6
#ff40d6
rgb(255,64,214)
-
#ff54da
#ff54da
rgb(255,84,218)
-
#ff68df
#ff68df
rgb(255,104,223)
-
#ff7be3
#ff7be3
rgb(255,123,227)
-
#ff8fe7
#ff8fe7
rgb(255,143,231)
-
#ffa2eb
#ffa2eb
rgb(255,162,235)
-
#ffb6ef
#ffb6ef
rgb(255,182,239)
-
#ffcaf4
#ffcaf4
rgb(255,202,244)
-
#ffddf8
#ffddf8
rgb(255,221,248)
-
#fff1fc
#fff1fc
rgb(255,241,252)
Tones of #540042
A tone is produced by adding gray to any pure hue. In this case, #2d272c is the less saturated color, while #540042 is the most saturated one.
-
#2d272c
#2d272c
rgb(45,39,44)
-
#30242e
#30242e
rgb(48,36,46)
-
#342030
#342030
rgb(52,32,48)
-
#371d31
#371d31
rgb(55,29,49)
-
#3a1a33
#3a1a33
rgb(58,26,51)
-
#3d1735
#3d1735
rgb(61,23,53)
-
#411337
#411337
rgb(65,19,55)
-
#441039
#441039
rgb(68,16,57)
-
#470d3b
#470d3b
rgb(71,13,59)
-
#4a0a3c
#4a0a3c
rgb(74,10,60)
-
#4e063e
#4e063e
rgb(78,6,62)
-
#510340
#510340
rgb(81,3,64)
-
#540042
#540042
rgb(84,0,66)
Color Blindness Simulator
Below, you can see how #540042 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.