#540cb1 Color Information

In a RGB color space, hex #540cb1 is composed of 32.9% red, 4.7% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 52.5% cyan, 93.2% magenta, 0% yellow and 30.6% black. It has a hue angle of 266.2 degrees, a saturation of 87.3% and a lightness of 37.1%. #540cb1 color hex could be obtained by blending #a818ff with #000063. Closest websafe color is: #660099.

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

#540cb1 color description : Dark violet.

#540cb1 Color Conversion

The hexadecimal color #540cb1 has RGB values of R:84, G:12, B:177 and CMYK values of C:0.53, M:0.93, Y:0, K:0.31. Its decimal value is 5508273.

Hex triplet 540cb1 #540cb1
RGB Decimal 84, 12, 177 rgb(84,12,177)
RGB Percent 32.9, 4.7, 69.4 rgb(32.9%,4.7%,69.4%)
CMYK 53, 93, 0, 31
HSL 266.2°, 87.3, 37.1 hsl(266.2,87.3%,37.1%)
HSV (or HSB) 266.2°, 93.2, 69.4
Web Safe 660099 #660099
CIE-LAB 27.633, 60.808, -70.362
XYZ 11.722, 5.322, 42.002
xyY 0.199, 0.09, 5.322
CIE-LCH 27.633, 92.997, 310.834
CIE-LUV 27.633, 6.352, -89.152
Hunter-Lab 23.069, 50.329, -91.8
Binary 01010100, 00001100, 10110001

Color Schemes with #540cb1

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

Alternatives to #540cb1

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

Similar Colors

#540cb1 Preview

Text with hexadecimal color #540cb1

This text has a font color of #540cb1.

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

This paragraph has a background color of #540cb1.

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

This element has a border color of #540cb1.

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

Shades and Tints of #540cb1

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

Shade Color Variation
Tint Color Variation

Tones of #540cb1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cb1 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
  • #00498d Protanopia 1% of men
  • #004d7b Deuteranopia 1% of men
  • #354f54 Tritanopia 0.001% of the population
Trichromacy
  • #1e329a Protanomaly 1% of men, 0.01% of women
  • #1e358e Deuteranomaly 6% of men, 0.4% of women
  • #403676 Tritanomaly 0.01% of the population