#540842 Color Information
In a RGB color space, hex #540842 is composed of 32.9% red, 3.1% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 90.5% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 314.2 degrees, a saturation of 82.6% and a lightness of 18%. #540842 color hex could be obtained by blending #a81084 with #000000. Closest websafe color is: #660033.
-
- R 33
- G 3
- B 26
-
- C 0
- M 90
- Y 21
- K 67
● #540842 color description : Very dark magenta.
#540842 Color Conversion
The hexadecimal color #540842 has RGB values of R:84, G:8, B:66 and CMYK values of C:0, M:0.9, Y:0.21, K:0.67. Its decimal value is 5507138.
Hex triplet | 540842 | #540842 |
---|---|---|
RGB Decimal | 84, 8, 66 | rgb(84,8,66) |
RGB Percent | 32.9, 3.1, 25.9 | rgb(32.9%,3.1%,25.9%) |
CMYK | 0, 90, 21, 67 | |
HSL | 314.2°, 82.6, 18 | hsl(314.2,82.6%,18%) |
HSV (or HSB) | 314.2°, 90.5, 32.9 | |
Web Safe | 660033 | #660033 |
CIE-LAB | 17.701, 38.601, -15.277 |
---|---|
XYZ | 4.726, 2.452, 5.378 |
xyY | 0.376, 0.195, 2.452 |
CIE-LCH | 17.701, 41.515, 338.408 |
CIE-LUV | 17.701, 29.943, -19.669 |
Hunter-Lab | 15.66, 26.47, -9.402 |
Binary | 01010100, 00001000, 01000010 |
Color Schemes with #540842
Alternatives to #540842
Below, you can see some colors close to #540842. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540842 Preview
This text has a font color of #540842.
<span style="color:#540842;">Text here</span>
This paragraph has a background color of #540842.
<p style="background-color:#540842;">Content here</p>
This element has a border color of #540842.
<div style="border:1px solid #540842;">Content here</div>
.text {color:#540842;}
.background {background-color:#540842;}
.border {border:1px solid #540842;}
Shades and Tints of #540842
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, #0c010a is the darkest color, while #fef9fd is the lightest one.
-
#0c010a
#0c010a
rgb(12,1,10)
-
#1e0318
#1e0318
rgb(30,3,24)
-
#300526
#300526
rgb(48,5,38)
-
#420634
#420634
rgb(66,6,52)
-
#540842
#540842
rgb(84,8,66)
-
#660a50
#660a50
rgb(102,10,80)
-
#780b5e
#780b5e
rgb(120,11,94)
-
#8a0d6c
#8a0d6c
rgb(138,13,108)
-
#9c0f7a
#9c0f7a
rgb(156,15,122)
-
#ae1188
#ae1188
rgb(174,17,136)
-
#bf1296
#bf1296
rgb(191,18,150)
-
#d114a5
#d114a5
rgb(209,20,165)
-
#e316b3
#e316b3
rgb(227,22,179)
-
#ea23bb
#ea23bb
rgb(234,35,187)
-
#ec34c0
#ec34c0
rgb(236,52,192)
-
#ed46c6
#ed46c6
rgb(237,70,198)
-
#ef58cb
#ef58cb
rgb(239,88,203)
-
#f16ad1
#f16ad1
rgb(241,106,209)
-
#f37cd6
#f37cd6
rgb(243,124,214)
-
#f48edc
#f48edc
rgb(244,142,220)
-
#f6a0e2
#f6a0e2
rgb(246,160,226)
-
#f8b2e7
#f8b2e7
rgb(248,178,231)
-
#f9c4ed
#f9c4ed
rgb(249,196,237)
-
#fbd6f2
#fbd6f2
rgb(251,214,242)
-
#fde8f8
#fde8f8
rgb(253,232,248)
-
#fef9fd
#fef9fd
rgb(254,249,253)
Tones of #540842
A tone is produced by adding gray to any pure hue. In this case, #312b2f is the less saturated color, while #5b0146 is the most saturated one.
-
#312b2f
#312b2f
rgb(49,43,47)
-
#342831
#342831
rgb(52,40,49)
-
#382433
#382433
rgb(56,36,51)
-
#3b2135
#3b2135
rgb(59,33,53)
-
#3f1d37
#3f1d37
rgb(63,29,55)
-
#421a39
#421a39
rgb(66,26,57)
-
#46163b
#46163b
rgb(70,22,59)
-
#49133c
#49133c
rgb(73,19,60)
-
#4d0f3e
#4d0f3e
rgb(77,15,62)
-
#500c40
#500c40
rgb(80,12,64)
-
#540842
#540842
rgb(84,8,66)
-
#580444
#580444
rgb(88,4,68)
-
#5b0146
#5b0146
rgb(91,1,70)
Color Blindness Simulator
Below, you can see how #540842 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.