#540cb0 Color Information

In a RGB color space, hex #540cb0 is composed of 32.9% red, 4.7% green and 69% blue. Whereas in a CMYK color space, it is composed of 52.3% cyan, 93.2% magenta, 0% yellow and 31% black. It has a hue angle of 266.3 degrees, a saturation of 87.2% and a lightness of 36.9%. #540cb0 color hex could be obtained by blending #a818ff with #000061. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 69
    RGB color chart
    • C 52
    • M 93
    • Y 0
    • K 31
    CMYK color chart

#540cb0 color description : Dark violet.

#540cb0 Color Conversion

The hexadecimal color #540cb0 has RGB values of R:84, G:12, B:176 and CMYK values of C:0.52, M:0.93, Y:0, K:0.31. Its decimal value is 5508272.

Hex triplet 540cb0 #540cb0
RGB Decimal 84, 12, 176 rgb(84,12,176)
RGB Percent 32.9, 4.7, 69 rgb(32.9%,4.7%,69%)
CMYK 52, 93, 0, 31
HSL 266.3°, 87.2, 36.9 hsl(266.3,87.2%,36.9%)
HSV (or HSB) 266.3°, 93.2, 69
Web Safe 660099 #660099
CIE-LAB 27.524, 60.572, -69.942
XYZ 11.623, 5.282, 41.479
xyY 0.199, 0.09, 5.282
CIE-LCH 27.524, 92.525, 310.894
CIE-LUV 27.524, 6.477, -88.567
Hunter-Lab 22.983, 50.049, -90.917
Binary 01010100, 00001100, 10110000

Color Schemes with #540cb0

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

Alternatives to #540cb0

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

Similar Colors

#540cb0 Preview

Text with hexadecimal color #540cb0

This text has a font color of #540cb0.

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

This paragraph has a background color of #540cb0.

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

This element has a border color of #540cb0.

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

Shades and Tints of #540cb0

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, #05010b is the darkest color, while #faf7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540cb0

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb0 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
  • #00488d Protanopia 1% of men
  • #004c7a Deuteranopia 1% of men
  • #364e54 Tritanopia 0.001% of the population
Trichromacy
  • #1e3299 Protanomaly 1% of men, 0.01% of women
  • #1e358e Deuteranomaly 6% of men, 0.4% of women
  • #413675 Tritanomaly 0.01% of the population