#540158 Color Information
In a RGB color space, hex #540158 is composed of 32.9% red, 0.4% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 4.5% cyan, 98.9% magenta, 0% yellow and 65.5% black. It has a hue angle of 297.2 degrees, a saturation of 97.8% and a lightness of 17.5%. #540158 color hex could be obtained by blending #a802b0 with #000000. Closest websafe color is: #660066.
-
- R 33
- G 0
- B 35
-
- C 5
- M 99
- Y 0
- K 65
● #540158 color description : Very dark magenta.
#540158 Color Conversion
The hexadecimal color #540158 has RGB values of R:84, G:1, B:88 and CMYK values of C:0.05, M:0.99, Y:0, K:0.65. Its decimal value is 5505368.
Hex triplet | 540158 | #540158 |
---|---|---|
RGB Decimal | 84, 1, 88 | rgb(84,1,88) |
RGB Percent | 32.9, 0.4, 34.5 | rgb(32.9%,0.4%,34.5%) |
CMYK | 5, 99, 0, 65 | |
HSL | 297.2°, 97.8, 17.5 | hsl(297.2,97.8%,17.5%) |
HSV (or HSB) | 297.2°, 98.9, 34.5 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 18.415, 44.209, -29.213 |
---|---|
XYZ | 5.428, 2.611, 9.45 |
xyY | 0.31, 0.149, 2.611 |
CIE-LCH | 18.415, 52.989, 326.543 |
CIE-LUV | 18.415, 23.893, -34.99 |
Hunter-Lab | 16.16, 31.68, -23.36 |
Binary | 01010100, 00000001, 01011000 |
Color Schemes with #540158
Alternatives to #540158
Below, you can see some colors close to #540158. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540158 Preview
This text has a font color of #540158.
<span style="color:#540158;">Text here</span>
This paragraph has a background color of #540158.
<p style="background-color:#540158;">Content here</p>
This element has a border color of #540158.
<div style="border:1px solid #540158;">Content here</div>
.text {color:#540158;}
.background {background-color:#540158;}
.border {border:1px solid #540158;}
Shades and Tints of #540158
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, #0a000a is the darkest color, while #fef6ff is the lightest one.
-
#0a000a
#0a000a
rgb(10,0,10)
-
#1c001e
#1c001e
rgb(28,0,30)
-
#2f0131
#2f0131
rgb(47,1,49)
-
#410145
#410145
rgb(65,1,69)
-
#540158
#540158
rgb(84,1,88)
-
#67016b
#67016b
rgb(103,1,107)
-
#79017f
#79017f
rgb(121,1,127)
-
#8c0292
#8c0292
rgb(140,2,146)
-
#9e02a6
#9e02a6
rgb(158,2,166)
-
#b102b9
#b102b9
rgb(177,2,185)
-
#c302cc
#c302cc
rgb(195,2,204)
-
#d603e0
#d603e0
rgb(214,3,224)
-
#e803f3
#e803f3
rgb(232,3,243)
-
#f10dfc
#f10dfc
rgb(241,13,252)
-
#f221fc
#f221fc
rgb(242,33,252)
-
#f334fd
#f334fd
rgb(243,52,253)
-
#f547fd
#f547fd
rgb(245,71,253)
-
#f65bfd
#f65bfd
rgb(246,91,253)
-
#f76efd
#f76efd
rgb(247,110,253)
-
#f882fe
#f882fe
rgb(248,130,254)
-
#f995fe
#f995fe
rgb(249,149,254)
-
#faa8fe
#faa8fe
rgb(250,168,254)
-
#fbbcfe
#fbbcfe
rgb(251,188,254)
-
#fccffe
#fccffe
rgb(252,207,254)
-
#fde3ff
#fde3ff
rgb(253,227,255)
-
#fef6ff
#fef6ff
rgb(254,246,255)
Tones of #540158
A tone is produced by adding gray to any pure hue. In this case, #2f2a2f is the less saturated color, while #540158 is the most saturated one.
-
#2f2a2f
#2f2a2f
rgb(47,42,47)
-
#322732
#322732
rgb(50,39,50)
-
#352336
#352336
rgb(53,35,54)
-
#382039
#382039
rgb(56,32,57)
-
#3b1c3d
#3b1c3d
rgb(59,28,61)
-
#3e1940
#3e1940
rgb(62,25,64)
-
#411643
#411643
rgb(65,22,67)
-
#441247
#441247
rgb(68,18,71)
-
#480f4a
#480f4a
rgb(72,15,74)
-
#4b0b4e
#4b0b4e
rgb(75,11,78)
-
#4e0851
#4e0851
rgb(78,8,81)
-
#510455
#510455
rgb(81,4,85)
-
#540158
#540158
rgb(84,1,88)
Color Blindness Simulator
Below, you can see how #540158 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.