#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
#0a000argb(10,0,10) -
#1c001e
#1c001ergb(28,0,30) -
#2f0131
#2f0131rgb(47,1,49) -
#410145
#410145rgb(65,1,69) -
#540158
#540158rgb(84,1,88) -
#67016b
#67016brgb(103,1,107) -
#79017f
#79017frgb(121,1,127) -
#8c0292
#8c0292rgb(140,2,146) -
#9e02a6
#9e02a6rgb(158,2,166) -
#b102b9
#b102b9rgb(177,2,185) -
#c302cc
#c302ccrgb(195,2,204) -
#d603e0
#d603e0rgb(214,3,224) -
#e803f3
#e803f3rgb(232,3,243)
-
#f10dfc
#f10dfcrgb(241,13,252) -
#f221fc
#f221fcrgb(242,33,252) -
#f334fd
#f334fdrgb(243,52,253) -
#f547fd
#f547fdrgb(245,71,253) -
#f65bfd
#f65bfdrgb(246,91,253) -
#f76efd
#f76efdrgb(247,110,253) -
#f882fe
#f882fergb(248,130,254) -
#f995fe
#f995fergb(249,149,254) -
#faa8fe
#faa8fergb(250,168,254) -
#fbbcfe
#fbbcfergb(251,188,254) -
#fccffe
#fccffergb(252,207,254) -
#fde3ff
#fde3ffrgb(253,227,255) -
#fef6ff
#fef6ffrgb(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
#2f2a2frgb(47,42,47) -
#322732
#322732rgb(50,39,50) -
#352336
#352336rgb(53,35,54) -
#382039
#382039rgb(56,32,57) -
#3b1c3d
#3b1c3drgb(59,28,61) -
#3e1940
#3e1940rgb(62,25,64) -
#411643
#411643rgb(65,22,67) -
#441247
#441247rgb(68,18,71) -
#480f4a
#480f4argb(72,15,74) -
#4b0b4e
#4b0b4ergb(75,11,78) -
#4e0851
#4e0851rgb(78,8,81) -
#510455
#510455rgb(81,4,85) -
#540158
#540158rgb(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.
