#540afa Color Information

In a RGB color space, hex #540afa is composed of 32.9% red, 3.9% green and 98% blue. Whereas in a CMYK color space, it is composed of 66.4% cyan, 96% magenta, 0% yellow and 2% black. It has a hue angle of 258.5 degrees, a saturation of 96% and a lightness of 51%. #540afa color hex could be obtained by blending #a814ff with #0000f5. Closest websafe color is: #6600ff.

    • R 33
    • G 4
    • B 98
    RGB color chart
    • C 66
    • M 96
    • Y 0
    • K 2
    CMYK color chart

#540afa color description : Vivid violet.

#540afa Color Conversion

The hexadecimal color #540afa has RGB values of R:84, G:10, B:250 and CMYK values of C:0.66, M:0.96, Y:0, K:0.02. Its decimal value is 5507834.

Hex triplet 540afa #540afa
RGB Decimal 84, 10, 250 rgb(84,10,250)
RGB Percent 32.9, 3.9, 98 rgb(32.9%,3.9%,98%)
CMYK 66, 96, 0, 2
HSL 258.5°, 96, 51 hsl(258.5,96%,51%)
HSV (or HSB) 258.5°, 96, 98
Web Safe 6600ff #6600ff
CIE-LAB 35.99, 78.256, -98.798
XYZ 21.017, 9.003, 91.067
xyY 0.174, 0.074, 9.003
CIE-LCH 35.99, 126.035, 308.382
CIE-LUV 35.99, -0.936, -130.807
Hunter-Lab 30.005, 72.519, -158.945
Binary 01010100, 00001010, 11111010

Color Schemes with #540afa

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

Alternatives to #540afa

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

Similar Colors

#540afa Preview

Text with hexadecimal color #540afa

This text has a font color of #540afa.

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

This paragraph has a background color of #540afa.

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

This element has a border color of #540afa.

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

Shades and Tints of #540afa

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

Shade Color Variation
Tint Color Variation

Tones of #540afa

A tone is produced by adding gray to any pure hue. In this case, #807d87 is the less saturated color, while #540afa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540afa 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
  • #403161 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005ab0 Protanopia 1% of men
  • #006098 Deuteranopia 1% of men
  • #00666c Tritanopia 0.001% of the population
Trichromacy
  • #1e3dcb Protanomaly 1% of men, 0.01% of women
  • #1e40bb Deuteranomaly 6% of men, 0.4% of women
  • #1e459f Tritanomaly 0.01% of the population