#540c97 Color Information

In a RGB color space, hex #540c97 is composed of 32.9% red, 4.7% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 44.4% cyan, 92.1% magenta, 0% yellow and 40.8% black. It has a hue angle of 271.1 degrees, a saturation of 85.3% and a lightness of 32%. #540c97 color hex could be obtained by blending #a818ff with #00002f. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 59
    RGB color chart
    • C 44
    • M 92
    • Y 0
    • K 41
    CMYK color chart

#540c97 color description : Dark violet.

#540c97 Color Conversion

The hexadecimal color #540c97 has RGB values of R:84, G:12, B:151 and CMYK values of C:0.44, M:0.92, Y:0, K:0.41. Its decimal value is 5508247.

Hex triplet 540c97 #540c97
RGB Decimal 84, 12, 151 rgb(84,12,151)
RGB Percent 32.9, 4.7, 59.2 rgb(32.9%,4.7%,59.2%)
CMYK 44, 92, 0, 41
HSL 271.1°, 85.3, 32 hsl(271.1,85.3%,32%)
HSV (or HSB) 271.1°, 92.1, 59.2
Web Safe 660099 #660099
CIE-LAB 24.897, 54.721, -59.091
XYZ 9.373, 4.382, 29.629
xyY 0.216, 0.101, 4.382
CIE-LCH 24.897, 80.537, 312.801
CIE-LUV 24.897, 9.96, -73.741
Hunter-Lab 20.934, 43.286, -69.263
Binary 01010100, 00001100, 10010111

Color Schemes with #540c97

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

Alternatives to #540c97

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

Similar Colors

#540c97 Preview

Text with hexadecimal color #540c97

This text has a font color of #540c97.

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

This paragraph has a background color of #540c97.

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

This element has a border color of #540c97.

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

Shades and Tints of #540c97

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

Shade Color Variation
Tint Color Variation

Tones of #540c97

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c97 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
  • #313131 Achromatopsia 0.005% of the population
  • #382a45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004382 Protanopia 1% of men
  • #004772 Deuteranopia 1% of men
  • #444449 Tritanopia 0.001% of the population
Trichromacy
  • #1e2f8a Protanomaly 1% of men, 0.01% of women
  • #1e317f Deuteranomaly 6% of men, 0.4% of women
  • #4a3065 Tritanomaly 0.01% of the population