#540c80 Color Information

In a RGB color space, hex #540c80 is composed of 32.9% red, 4.7% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 34.4% cyan, 90.6% magenta, 0% yellow and 49.8% black. It has a hue angle of 277.2 degrees, a saturation of 82.9% and a lightness of 27.5%. #540c80 color hex could be obtained by blending #a818ff with #000001. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 50
    RGB color chart
    • C 34
    • M 91
    • Y 0
    • K 50
    CMYK color chart

#540c80 color description : Dark violet.

#540c80 Color Conversion

The hexadecimal color #540c80 has RGB values of R:84, G:12, B:128 and CMYK values of C:0.34, M:0.91, Y:0, K:0.5. Its decimal value is 5508224.

Hex triplet 540c80 #540c80
RGB Decimal 84, 12, 128 rgb(84,12,128)
RGB Percent 32.9, 4.7, 50.2 rgb(32.9%,4.7%,50.2%)
CMYK 34, 91, 0, 50
HSL 277.2°, 82.9, 27.5 hsl(277.2,82.9%,27.5%)
HSV (or HSB) 277.2°, 90.6, 50.2
Web Safe 660099 #660099
CIE-LAB 22.676, 49.485, -48.376
XYZ 7.683, 3.706, 20.732
xyY 0.239, 0.115, 3.706
CIE-LCH 22.676, 69.202, 315.649
CIE-LUV 22.676, 13.884, -59.69
Hunter-Lab 19.252, 37.546, -50.37
Binary 01010100, 00001100, 10000000

Color Schemes with #540c80

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

Alternatives to #540c80

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

Similar Colors

#540c80 Preview

Text with hexadecimal color #540c80

This text has a font color of #540c80.

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

This paragraph has a background color of #540c80.

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

This element has a border color of #540c80.

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

Shades and Tints of #540c80

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

Shade Color Variation
Tint Color Variation

Tones of #540c80

A tone is produced by adding gray to any pure hue. In this case, #47424a is the less saturated color, while #57018b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c80 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #36283f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e7a Protanopia 1% of men
  • #00426b Deuteranopia 1% of men
  • #4d3c40 Tritanopia 0.001% of the population
Trichromacy
  • #1e2c7c Protanomaly 1% of men, 0.01% of women
  • #1e2e72 Deuteranomaly 6% of men, 0.4% of women
  • #4f2a57 Tritanomaly 0.01% of the population