#540f58 Color Information

In a RGB color space, hex #540f58 is composed of 32.9% red, 5.9% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 4.5% cyan, 83% magenta, 0% yellow and 65.5% black. It has a hue angle of 296.7 degrees, a saturation of 70.9% and a lightness of 20.2%. #540f58 color hex could be obtained by blending #a81eb0 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 6
    • B 35
    RGB color chart
    • C 5
    • M 83
    • Y 0
    • K 65
    CMYK color chart

#540f58 color description : Very dark magenta.

#540f58 Color Conversion

The hexadecimal color #540f58 has RGB values of R:84, G:15, B:88 and CMYK values of C:0.05, M:0.83, Y:0, K:0.65. Its decimal value is 5508952.

Hex triplet 540f58 #540f58
RGB Decimal 84, 15, 88 rgb(84,15,88)
RGB Percent 32.9, 5.9, 34.5 rgb(32.9%,5.9%,34.5%)
CMYK 5, 83, 0, 65
HSL 296.7°, 70.9, 20.2 hsl(296.7,70.9%,20.2%)
HSV (or HSB) 296.7°, 83, 34.5
Web Safe 660066 #660066
CIE-LAB 19.767, 40.256, -27.049
XYZ 5.588, 2.931, 9.503
xyY 0.31, 0.163, 2.931
CIE-LCH 19.767, 48.5, 326.102
CIE-LUV 19.767, 22.738, -33.509
Hunter-Lab 17.121, 28.299, -20.925
Binary 01010100, 00001111, 01011000

Color Schemes with #540f58

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

Alternatives to #540f58

Below, you can see some colors close to #540f58. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#540f58 Preview

Text with hexadecimal color #540f58

This text has a font color of #540f58.

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

This paragraph has a background color of #540f58.

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

This element has a border color of #540f58.

<div style="border:1px solid #540f58;">Content here</div>
CSS codes
.text {color:#540f58;}
.background {background-color:#540f58;}
.border {border:1px solid #540f58;}

Shades and Tints of #540f58

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, #040104 is the darkest color, while #fcf2fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f58

A tone is produced by adding gray to any pure hue. In this case, #343334 is the less saturated color, while #5f0364 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f58 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.

  • #2c2c2c Achromatopsia 0.005% of the population
  • #342635 Atypical Achromatopsia 0.001% of the population
  • #00386f Protanopia 1% of men
  • #283a58 Deuteranopia 1% of men
  • #562e31 Tritanopia 0.001% of the population
  • #1e2966 Protanomaly 1% of men, 0.01% of women
  • #382a58 Deuteranomaly 6% of men, 0.4% of women
  • #55223f Tritanomaly 0.01% of the population