#5a2fa0 Color Information

In a RGB color space, hex #5a2fa0 is composed of 35.3% red, 18.4% green and 62.7% blue. Whereas in a CMYK color space, it is composed of 43.8% cyan, 70.6% magenta, 0% yellow and 37.3% black. It has a hue angle of 262.8 degrees, a saturation of 54.6% and a lightness of 40.6%. #5a2fa0 color hex could be obtained by blending #b45eff with #000041. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 63
    RGB color chart
    • C 44
    • M 71
    • Y 0
    • K 37
    CMYK color chart

#5a2fa0 color description : Dark violet.

#5a2fa0 Color Conversion

The hexadecimal color #5a2fa0 has RGB values of R:90, G:47, B:160 and CMYK values of C:0.44, M:0.71, Y:0, K:0.37. Its decimal value is 5910432.

Hex triplet 5a2fa0 #5a2fa0
RGB Decimal 90, 47, 160 rgb(90,47,160)
RGB Percent 35.3, 18.4, 62.7 rgb(35.3%,18.4%,62.7%)
CMYK 44, 71, 0, 37
HSL 262.8°, 54.6, 40.6 hsl(262.8,54.6%,40.6%)
HSV (or HSB) 262.8°, 70.6, 62.7
Web Safe 663399 #663399
CIE-LAB 31.219, 44.322, -54.206
XYZ 11.577, 6.745, 33.948
xyY 0.221, 0.129, 6.745
CIE-LCH 31.219, 70.019, 309.272
CIE-LUV 31.219, 7.288, -75.268
Hunter-Lab 25.971, 34.122, -59.322
Binary 01011010, 00101111, 10100000

Color Schemes with #5a2fa0

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

Alternatives to #5a2fa0

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

Similar Colors

#5a2fa0 Preview

Text with hexadecimal color #5a2fa0

This text has a font color of #5a2fa0.

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

This paragraph has a background color of #5a2fa0.

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

This element has a border color of #5a2fa0.

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

Shades and Tints of #5a2fa0

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

Shade Color Variation
Tint Color Variation

Tones of #5a2fa0

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2fa0 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
  • #494949 Achromatopsia 0.005% of the population
  • #4c445a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #00548a Deuteranopia 1% of men
  • #4c545a Tritanopia 0.001% of the population
Trichromacy
  • #20449e Protanomaly 1% of men, 0.01% of women
  • #204792 Deuteranomaly 6% of men, 0.4% of women
  • #514673 Tritanomaly 0.01% of the population