#540498 Color Information

In a RGB color space, hex #540498 is composed of 32.9% red, 1.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 97.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 272.4 degrees, a saturation of 94.9% and a lightness of 30.6%. #540498 color hex could be obtained by blending #a808ff with #000031. Closest websafe color is: #660099.

    • R 33
    • G 2
    • B 60
    RGB color chart
    • C 45
    • M 97
    • Y 0
    • K 40
    CMYK color chart

#540498 color description : Dark violet.

#540498 Color Conversion

The hexadecimal color #540498 has RGB values of R:84, G:4, B:152 and CMYK values of C:0.45, M:0.97, Y:0, K:0.4. Its decimal value is 5506200.

Hex triplet 540498 #540498
RGB Decimal 84, 4, 152 rgb(84,4,152)
RGB Percent 32.9, 1.6, 59.6 rgb(32.9%,1.6%,59.6%)
CMYK 45, 97, 0, 40
HSL 272.4°, 94.9, 30.6 hsl(272.4,94.9%,30.6%)
HSV (or HSB) 272.4°, 97.4, 59.6
Web Safe 660099 #660099
CIE-LAB 24.445, 56.613, -60.45
XYZ 9.366, 4.239, 30.029
xyY 0.215, 0.097, 4.239
CIE-LCH 24.445, 82.82, 313.123
CIE-LUV 24.445, 10.156, -74.472
Hunter-Lab 20.588, 45.176, -72.066
Binary 01010100, 00000100, 10011000

Color Schemes with #540498

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

Alternatives to #540498

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

Similar Colors

#540498 Preview

Text with hexadecimal color #540498

This text has a font color of #540498.

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

This paragraph has a background color of #540498.

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

This element has a border color of #540498.

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

Shades and Tints of #540498

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, #0a0012 is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540498

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540498 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #352542 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004280 Protanopia 1% of men
  • #004670 Deuteranopia 1% of men
  • #444348 Tritanopia 0.001% of the population
Trichromacy
  • #1e2b89 Protanomaly 1% of men, 0.01% of women
  • #1e2e7e Deuteranomaly 6% of men, 0.4% of women
  • #492c65 Tritanomaly 0.01% of the population