#540c81 Color Information

In a RGB color space, hex #540c81 is composed of 32.9% red, 4.7% green and 50.6% blue. Whereas in a CMYK color space, it is composed of 34.9% cyan, 90.7% magenta, 0% yellow and 49.4% black. It has a hue angle of 276.9 degrees, a saturation of 83% and a lightness of 27.6%. #540c81 color hex could be obtained by blending #a818ff with #000003. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 51
    RGB color chart
    • C 35
    • M 91
    • Y 0
    • K 49
    CMYK color chart

#540c81 color description : Dark violet.

#540c81 Color Conversion

The hexadecimal color #540c81 has RGB values of R:84, G:12, B:129 and CMYK values of C:0.35, M:0.91, Y:0, K:0.49. Its decimal value is 5508225.

Hex triplet 540c81 #540c81
RGB Decimal 84, 12, 129 rgb(84,12,129)
RGB Percent 32.9, 4.7, 50.6 rgb(32.9%,4.7%,50.6%)
CMYK 35, 91, 0, 49
HSL 276.9°, 83, 27.6 hsl(276.9,83%,27.6%)
HSV (or HSB) 276.9°, 90.7, 50.6
Web Safe 660099 #660099
CIE-LAB 22.768, 49.708, -48.859
XYZ 7.749, 3.733, 21.08
xyY 0.238, 0.115, 3.733
CIE-LCH 22.768, 69.699, 315.494
CIE-LUV 22.768, 13.696, -60.311
Hunter-Lab 19.321, 37.785, -51.164
Binary 01010100, 00001100, 10000001

Color Schemes with #540c81

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

Alternatives to #540c81

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

Similar Colors

#540c81 Preview

Text with hexadecimal color #540c81

This text has a font color of #540c81.

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

This paragraph has a background color of #540c81.

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

This element has a border color of #540c81.

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

Shades and Tints of #540c81

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

Shade Color Variation
Tint Color Variation

Tones of #540c81

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c81 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
  • #1e2e73 Deuteranomaly 6% of men, 0.4% of women
  • #4f2a58 Tritanomaly 0.01% of the population