#540cb7 Color Information

In a RGB color space, hex #540cb7 is composed of 32.9% red, 4.7% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 54.1% cyan, 93.4% magenta, 0% yellow and 28.2% black. It has a hue angle of 265.3 degrees, a saturation of 87.7% and a lightness of 38.2%. #540cb7 color hex could be obtained by blending #a818ff with #00006f. Closest websafe color is: #6600cc.

    • R 33
    • G 5
    • B 72
    RGB color chart
    • C 54
    • M 93
    • Y 0
    • K 28
    CMYK color chart

#540cb7 color description : Strong violet.

#540cb7 Color Conversion

The hexadecimal color #540cb7 has RGB values of R:84, G:12, B:183 and CMYK values of C:0.54, M:0.93, Y:0, K:0.28. Its decimal value is 5508279.

Hex triplet 540cb7 #540cb7
RGB Decimal 84, 12, 183 rgb(84,12,183)
RGB Percent 32.9, 4.7, 71.8 rgb(32.9%,4.7%,71.8%)
CMYK 54, 93, 0, 28
HSL 265.3°, 87.7, 38.2 hsl(265.3,87.7%,38.2%)
HSV (or HSB) 265.3°, 93.4, 71.8
Web Safe 6600cc #6600cc
CIE-LAB 28.291, 62.224, -72.855
XYZ 12.333, 5.566, 45.222
xyY 0.195, 0.088, 5.566
CIE-LCH 28.291, 95.811, 310.5
CIE-LUV 28.291, 5.615, -92.655
Hunter-Lab 23.593, 52.022, -97.127
Binary 01010100, 00001100, 10110111

Color Schemes with #540cb7

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

Alternatives to #540cb7

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

Similar Colors

#540cb7 Preview

Text with hexadecimal color #540cb7

This text has a font color of #540cb7.

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

This paragraph has a background color of #540cb7.

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

This element has a border color of #540cb7.

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

Shades and Tints of #540cb7

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

Shade Color Variation
Tint Color Variation

Tones of #540cb7

A tone is produced by adding gray to any pure hue. In this case, #615f65 is the less saturated color, while #5304bf is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb7 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
  • #353535 Achromatopsia 0.005% of the population
  • #3b2d4f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a90 Protanopia 1% of men
  • #004e7d Deuteranopia 1% of men
  • #305157 Tritanopia 0.001% of the population
Trichromacy
  • #1e339e Protanomaly 1% of men, 0.01% of women
  • #1e3692 Deuteranomaly 6% of men, 0.4% of women
  • #3d387a Tritanomaly 0.01% of the population