#540cb2 Color Information

In a RGB color space, hex #540cb2 is composed of 32.9% red, 4.7% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 52.8% cyan, 93.3% magenta, 0% yellow and 30.2% black. It has a hue angle of 266 degrees, a saturation of 87.4% and a lightness of 37.3%. #540cb2 color hex could be obtained by blending #a818ff with #000065. Closest websafe color is: #660099.

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

#540cb2 color description : Dark violet.

#540cb2 Color Conversion

The hexadecimal color #540cb2 has RGB values of R:84, G:12, B:178 and CMYK values of C:0.53, M:0.93, Y:0, K:0.3. Its decimal value is 5508274.

Hex triplet 540cb2 #540cb2
RGB Decimal 84, 12, 178 rgb(84,12,178)
RGB Percent 32.9, 4.7, 69.8 rgb(32.9%,4.7%,69.8%)
CMYK 53, 93, 0, 30
HSL 266°, 87.4, 37.3 hsl(266,87.4%,37.3%)
HSV (or HSB) 266°, 93.3, 69.8
Web Safe 660099 #660099
CIE-LAB 27.742, 61.044, -70.78
XYZ 11.822, 5.362, 42.529
xyY 0.198, 0.09, 5.362
CIE-LCH 27.742, 93.467, 310.776
CIE-LUV 27.742, 6.227, -89.737
Hunter-Lab 23.156, 50.609, -92.685
Binary 01010100, 00001100, 10110010

Color Schemes with #540cb2

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

Alternatives to #540cb2

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

Similar Colors

#540cb2 Preview

Text with hexadecimal color #540cb2

This text has a font color of #540cb2.

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

This paragraph has a background color of #540cb2.

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

This element has a border color of #540cb2.

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

Shades and Tints of #540cb2

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, #06010d is the darkest color, while #fcf9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540cb2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb2 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2c4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498e Protanopia 1% of men
  • #004d7b Deuteranopia 1% of men
  • #354f55 Tritanopia 0.001% of the population
Trichromacy
  • #1e329b Protanomaly 1% of men, 0.01% of women
  • #1e358f Deuteranomaly 6% of men, 0.4% of women
  • #403676 Tritanomaly 0.01% of the population