#540cb9 Color Information

In a RGB color space, hex #540cb9 is composed of 32.9% red, 4.7% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 93.5% magenta, 0% yellow and 27.5% black. It has a hue angle of 265 degrees, a saturation of 87.8% and a lightness of 38.6%. #540cb9 color hex could be obtained by blending #a818ff with #000073. Closest websafe color is: #6600cc.

    • R 33
    • G 5
    • B 73
    RGB color chart
    • C 55
    • M 94
    • Y 0
    • K 27
    CMYK color chart

#540cb9 color description : Strong violet.

#540cb9 Color Conversion

The hexadecimal color #540cb9 has RGB values of R:84, G:12, B:185 and CMYK values of C:0.55, M:0.94, Y:0, K:0.27. Its decimal value is 5508281.

Hex triplet 540cb9 #540cb9
RGB Decimal 84, 12, 185 rgb(84,12,185)
RGB Percent 32.9, 4.7, 72.5 rgb(32.9%,4.7%,72.5%)
CMYK 55, 94, 0, 27
HSL 265°, 87.8, 38.6 hsl(265,87.8%,38.6%)
HSV (or HSB) 265°, 93.5, 72.5
Web Safe 6600cc #6600cc
CIE-LAB 28.513, 62.696, -73.679
XYZ 12.543, 5.65, 46.326
xyY 0.194, 0.088, 5.65
CIE-LCH 28.513, 96.744, 310.396
CIE-LUV 28.513, 5.377, -93.818
Hunter-Lab 23.77, 52.592, -98.911
Binary 01010100, 00001100, 10111001

Color Schemes with #540cb9

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

Alternatives to #540cb9

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

Similar Colors

#540cb9 Preview

Text with hexadecimal color #540cb9

This text has a font color of #540cb9.

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

This paragraph has a background color of #540cb9.

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

This element has a border color of #540cb9.

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

Shades and Tints of #540cb9

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

Shade Color Variation
Tint Color Variation

Tones of #540cb9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb9 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
  • #004a91 Protanopia 1% of men
  • #004f7e Deuteranopia 1% of men
  • #2e5258 Tritanopia 0.001% of the population
Trichromacy
  • #1e349f Protanomaly 1% of men, 0.01% of women
  • #1e3693 Deuteranomaly 6% of men, 0.4% of women
  • #3c387b Tritanomaly 0.01% of the population