#540ceb Color Information

In a RGB color space, hex #540ceb is composed of 32.9% red, 4.7% green and 92.2% blue. Whereas in a CMYK color space, it is composed of 64.3% cyan, 94.9% magenta, 0% yellow and 7.8% black. It has a hue angle of 259.4 degrees, a saturation of 90.3% and a lightness of 48.4%. #540ceb color hex could be obtained by blending #a818ff with #0000d7. Closest websafe color is: #6600ff.

    • R 33
    • G 5
    • B 92
    RGB color chart
    • C 64
    • M 95
    • Y 0
    • K 8
    CMYK color chart

#540ceb color description : Vivid violet.

#540ceb Color Conversion

The hexadecimal color #540ceb has RGB values of R:84, G:12, B:235 and CMYK values of C:0.64, M:0.95, Y:0, K:0.08. Its decimal value is 5508331.

Hex triplet 540ceb #540ceb
RGB Decimal 84, 12, 235 rgb(84,12,235)
RGB Percent 32.9, 4.7, 92.2 rgb(32.9%,4.7%,92.2%)
CMYK 64, 95, 0, 8
HSL 259.4°, 90.3, 48.4 hsl(259.4,90.3%,48.4%)
HSV (or HSB) 259.4°, 94.9, 92.2
Web Safe 6600ff #6600ff
CIE-LAB 34.283, 74.483, -93.153
XYZ 18.78, 8.145, 79.175
xyY 0.177, 0.077, 8.145
CIE-LCH 34.283, 119.269, 308.645
CIE-LUV 34.283, 0.285, -122.408
Hunter-Lab 28.54, 67.515, -144.505
Binary 01010100, 00001100, 11101011

Color Schemes with #540ceb

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

Alternatives to #540ceb

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

Similar Colors

#540ceb Preview

Text with hexadecimal color #540ceb

This text has a font color of #540ceb.

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

This paragraph has a background color of #540ceb.

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

This element has a border color of #540ceb.

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

Shades and Tints of #540ceb

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

Shade Color Variation
Tint Color Variation

Tones of #540ceb

A tone is produced by adding gray to any pure hue. In this case, #797583 is the less saturated color, while #5102f5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ceb 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #40325e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0057a9 Protanopia 1% of men
  • #005c92 Deuteranopia 1% of men
  • #006268 Tritanopia 0.001% of the population
Trichromacy
  • #1e3bc1 Protanomaly 1% of men, 0.01% of women
  • #1e3fb2 Deuteranomaly 6% of men, 0.4% of women
  • #1e4397 Tritanomaly 0.01% of the population