#540cb4 Color Information

In a RGB color space, hex #540cb4 is composed of 32.9% red, 4.7% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 53.3% cyan, 93.3% magenta, 0% yellow and 29.4% black. It has a hue angle of 265.7 degrees, a saturation of 87.5% and a lightness of 37.6%. #540cb4 color hex could be obtained by blending #a818ff with #000069. Closest websafe color is: #6600cc.

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

#540cb4 color description : Strong violet.

#540cb4 Color Conversion

The hexadecimal color #540cb4 has RGB values of R:84, G:12, B:180 and CMYK values of C:0.53, M:0.93, Y:0, K:0.29. Its decimal value is 5508276.

Hex triplet 540cb4 #540cb4
RGB Decimal 84, 12, 180 rgb(84,12,180)
RGB Percent 32.9, 4.7, 70.6 rgb(32.9%,4.7%,70.6%)
CMYK 53, 93, 0, 29
HSL 265.7°, 87.5, 37.6 hsl(265.7,87.5%,37.6%)
HSV (or HSB) 265.7°, 93.3, 70.6
Web Safe 6600cc #6600cc
CIE-LAB 27.961, 61.516, -71.613
XYZ 12.024, 5.443, 43.595
xyY 0.197, 0.089, 5.443
CIE-LCH 27.961, 94.407, 310.663
CIE-LUV 27.961, 5.98, -90.906
Hunter-Lab 23.33, 51.173, -94.459
Binary 01010100, 00001100, 10110100

Color Schemes with #540cb4

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

Alternatives to #540cb4

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

Similar Colors

#540cb4 Preview

Text with hexadecimal color #540cb4

This text has a font color of #540cb4.

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

This paragraph has a background color of #540cb4.

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

This element has a border color of #540cb4.

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

Shades and Tints of #540cb4

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

Shade Color Variation
Tint Color Variation

Tones of #540cb4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb4 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
  • #3b2d4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7c Deuteranopia 1% of men
  • #335056 Tritanopia 0.001% of the population
Trichromacy
  • #1e339c Protanomaly 1% of men, 0.01% of women
  • #1e3590 Deuteranomaly 6% of men, 0.4% of women
  • #3f3778 Tritanomaly 0.01% of the population