#540cb8 Color Information

In a RGB color space, hex #540cb8 is composed of 32.9% red, 4.7% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 93.5% magenta, 0% yellow and 27.8% black. It has a hue angle of 265.1 degrees, a saturation of 87.8% and a lightness of 38.4%. #540cb8 color hex could be obtained by blending #a818ff with #000071. 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

#540cb8 color description : Strong violet.

#540cb8 Color Conversion

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

Hex triplet 540cb8 #540cb8
RGB Decimal 84, 12, 184 rgb(84,12,184)
RGB Percent 32.9, 4.7, 72.2 rgb(32.9%,4.7%,72.2%)
CMYK 54, 93, 0, 28
HSL 265.1°, 87.8, 38.4 hsl(265.1,87.8%,38.4%)
HSV (or HSB) 265.1°, 93.5, 72.2
Web Safe 6600cc #6600cc
CIE-LAB 28.402, 62.46, -73.267
XYZ 12.438, 5.608, 45.772
xyY 0.195, 0.088, 5.608
CIE-LCH 28.402, 96.278, 310.447
CIE-LUV 28.402, 5.496, -93.237
Hunter-Lab 23.682, 52.307, -98.018
Binary 01010100, 00001100, 10111000

Color Schemes with #540cb8

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

Alternatives to #540cb8

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

Similar Colors

#540cb8 Preview

Text with hexadecimal color #540cb8

This text has a font color of #540cb8.

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

This paragraph has a background color of #540cb8.

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

This element has a border color of #540cb8.

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

Shades and Tints of #540cb8

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

Shade Color Variation
Tint Color Variation

Tones of #540cb8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb8 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
  • #2f5157 Tritanopia 0.001% of the population
Trichromacy
  • #1e339f Protanomaly 1% of men, 0.01% of women
  • #1e3692 Deuteranomaly 6% of men, 0.4% of women
  • #3c387a Tritanomaly 0.01% of the population