#5a2e9b Color Information

In a RGB color space, hex #5a2e9b is composed of 35.3% red, 18% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 41.9% cyan, 70.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 264.2 degrees, a saturation of 54.2% and a lightness of 39.4%. #5a2e9b color hex could be obtained by blending #b45cff with #000037. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 61
    RGB color chart
    • C 42
    • M 70
    • Y 0
    • K 39
    CMYK color chart

#5a2e9b color description : Dark violet.

#5a2e9b Color Conversion

The hexadecimal color #5a2e9b has RGB values of R:90, G:46, B:155 and CMYK values of C:0.42, M:0.7, Y:0, K:0.39. Its decimal value is 5910171.

Hex triplet 5a2e9b #5a2e9b
RGB Decimal 90, 46, 155 rgb(90,46,155)
RGB Percent 35.3, 18, 60.8 rgb(35.3%,18%,60.8%)
CMYK 42, 70, 0, 39
HSL 264.2°, 54.2, 39.4 hsl(264.2,54.2%,39.4%)
HSV (or HSB) 264.2°, 70.3, 60.8
Web Safe 663399 #663399
CIE-LAB 30.627, 43.487, -52.132
XYZ 11.109, 6.494, 31.677
xyY 0.225, 0.132, 6.494
CIE-LCH 30.627, 67.889, 309.834
CIE-LUV 30.627, 8.146, -72.143
Hunter-Lab 25.484, 33.215, -55.86
Binary 01011010, 00101110, 10011011

Color Schemes with #5a2e9b

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

Alternatives to #5a2e9b

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

Similar Colors

#5a2e9b Preview

Text with hexadecimal color #5a2e9b

This text has a font color of #5a2e9b.

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

This paragraph has a background color of #5a2e9b.

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

This element has a border color of #5a2e9b.

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

Shades and Tints of #5a2e9b

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

Shade Color Variation
Tint Color Variation

Tones of #5a2e9b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2e9b 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
  • #484848 Achromatopsia 0.005% of the population
  • #4c4359 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9a Protanopia 1% of men
  • #005388 Deuteranopia 1% of men
  • #4d5157 Tritanopia 0.001% of the population
Trichromacy
  • #20439a Protanomaly 1% of men, 0.01% of women
  • #20458f Deuteranomaly 6% of men, 0.4% of women
  • #524470 Tritanomaly 0.01% of the population