#540798 Color Information

In a RGB color space, hex #540798 is composed of 32.9% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 271.9 degrees, a saturation of 91.2% and a lightness of 31.2%. #540798 color hex could be obtained by blending #a80eff with #000031. Closest websafe color is: #660099.

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

#540798 color description : Dark violet.

#540798 Color Conversion

The hexadecimal color #540798 has RGB values of R:84, G:7, B:152 and CMYK values of C:0.45, M:0.95, Y:0, K:0.4. Its decimal value is 5506968.

Hex triplet 540798 #540798
RGB Decimal 84, 7, 152 rgb(84,7,152)
RGB Percent 32.9, 2.7, 59.6 rgb(32.9%,2.7%,59.6%)
CMYK 45, 95, 0, 40
HSL 271.9°, 91.2, 31.2 hsl(271.9,91.2%,31.2%)
HSV (or HSB) 271.9°, 95.4, 59.6
Web Safe 660099 #660099
CIE-LAB 24.651, 55.992, -60.11
XYZ 9.399, 4.304, 30.04
xyY 0.215, 0.098, 4.304
CIE-LCH 24.651, 82.148, 312.968
CIE-LUV 24.651, 10.028, -74.432
Hunter-Lab 20.746, 44.564, -71.33
Binary 01010100, 00000111, 10011000

Color Schemes with #540798

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

Alternatives to #540798

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

Similar Colors

#540798 Preview

Text with hexadecimal color #540798

This text has a font color of #540798.

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

This paragraph has a background color of #540798.

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

This element has a border color of #540798.

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

Shades and Tints of #540798

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

Shade Color Variation
Tint Color Variation

Tones of #540798

A tone is produced by adding gray to any pure hue. In this case, #504a55 is the less saturated color, while #54019e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540798 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #362744 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004671 Deuteranopia 1% of men
  • #444449 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d89 Protanomaly 1% of men, 0.01% of women
  • #1e2f7f Deuteranomaly 6% of men, 0.4% of women
  • #492e65 Tritanomaly 0.01% of the population