#540cb5 Color Information

In a RGB color space, hex #540cb5 is composed of 32.9% red, 4.7% green and 71% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 93.4% magenta, 0% yellow and 29% black. It has a hue angle of 265.6 degrees, a saturation of 87.6% and a lightness of 37.8%. #540cb5 color hex could be obtained by blending #a818ff with #00006b. Closest websafe color is: #6600cc.

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

#540cb5 color description : Strong violet.

#540cb5 Color Conversion

The hexadecimal color #540cb5 has RGB values of R:84, G:12, B:181 and CMYK values of C:0.54, M:0.93, Y:0, K:0.29. Its decimal value is 5508277.

Hex triplet 540cb5 #540cb5
RGB Decimal 84, 12, 181 rgb(84,12,181)
RGB Percent 32.9, 4.7, 71 rgb(32.9%,4.7%,71%)
CMYK 54, 93, 0, 29
HSL 265.6°, 87.6, 37.8 hsl(265.6,87.6%,37.8%)
HSV (or HSB) 265.6°, 93.4, 71
Web Safe 6600cc #6600cc
CIE-LAB 28.071, 61.752, -72.028
XYZ 12.127, 5.484, 44.133
xyY 0.196, 0.089, 5.484
CIE-LCH 28.071, 94.875, 310.607
CIE-LUV 28.071, 5.857, -91.489
Hunter-Lab 23.417, 51.455, -95.347
Binary 01010100, 00001100, 10110101

Color Schemes with #540cb5

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

Alternatives to #540cb5

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

Similar Colors

#540cb5 Preview

Text with hexadecimal color #540cb5

This text has a font color of #540cb5.

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

This paragraph has a background color of #540cb5.

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

This element has a border color of #540cb5.

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

Shades and Tints of #540cb5

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, #07010f is the darkest color, while #fdfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540cb5

A tone is produced by adding gray to any pure hue. In this case, #605e63 is the less saturated color, while #5305bc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb5 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
  • #00498f Protanopia 1% of men
  • #004e7c Deuteranopia 1% of men
  • #325056 Tritanopia 0.001% of the population
Trichromacy
  • #1e339d Protanomaly 1% of men, 0.01% of women
  • #1e3691 Deuteranomaly 6% of men, 0.4% of women
  • #3e3778 Tritanomaly 0.01% of the population