#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
    RGB color chart
    • C 5
    • M 99
    • Y 0
    • K 65
    CMYK color chart

#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

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

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.

Similar Colors

#540158 Preview

Text with hexadecimal color #540158

This text has a font color of #540158.

<span style="color:#540158;">Text here</span>
#540158 background color

This paragraph has a background color of #540158.

<p style="background-color:#540158;">Content here</p>
#540158 border color

This element has a border color of #540158.

<div style="border:1px solid #540158;">Content here</div>
CSS codes
.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.

Shade Color Variation
Tint Color Variation

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.

Tone Color Variation

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.

Monochromacy
  • #242424 Achromatopsia 0.005% of the population
  • #2e1d2e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #213857 Deuteranopia 1% of men
  • #56292c Tritanopia 0.001% of the population
Trichromacy
  • #1e2263 Protanomaly 1% of men, 0.01% of women
  • #332457 Deuteranomaly 6% of men, 0.4% of women
  • #551a3c Tritanomaly 0.01% of the population