#5a2fab Color Information

In a RGB color space, hex #5a2fab is composed of 35.3% red, 18.4% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 72.5% magenta, 0% yellow and 32.9% black. It has a hue angle of 260.8 degrees, a saturation of 56.9% and a lightness of 42.7%. #5a2fab color hex could be obtained by blending #b45eff with #000057. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 67
    RGB color chart
    • C 47
    • M 73
    • Y 0
    • K 33
    CMYK color chart

#5a2fab color description : Dark violet.

#5a2fab Color Conversion

The hexadecimal color #5a2fab has RGB values of R:90, G:47, B:171 and CMYK values of C:0.47, M:0.73, Y:0, K:0.33. Its decimal value is 5910443.

Hex triplet 5a2fab #5a2fab
RGB Decimal 90, 47, 171 rgb(90,47,171)
RGB Percent 35.3, 18.4, 67.1 rgb(35.3%,18.4%,67.1%)
CMYK 47, 73, 0, 33
HSL 260.8°, 56.9, 42.7 hsl(260.8,56.9%,42.7%)
HSV (or HSB) 260.8°, 72.5, 67.1
Web Safe 663399 #663399
CIE-LAB 32.139, 47.331, -59.332
XYZ 12.582, 7.147, 39.242
xyY 0.213, 0.121, 7.147
CIE-LCH 32.139, 75.898, 308.581
CIE-LUV 32.139, 5.876, -82.526
Hunter-Lab 26.734, 37.229, -68.319
Binary 01011010, 00101111, 10101011

Color Schemes with #5a2fab

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

Alternatives to #5a2fab

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

Similar Colors

#5a2fab Preview

Text with hexadecimal color #5a2fab

This text has a font color of #5a2fab.

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

This paragraph has a background color of #5a2fab.

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

This element has a border color of #5a2fab.

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

Shades and Tints of #5a2fab

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 #f5f1fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2fab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2fab 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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #4d455d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0052a0 Protanopia 1% of men
  • #00568c Deuteranopia 1% of men
  • #47575d Tritanopia 0.001% of the population
Trichromacy
  • #2045a4 Protanomaly 1% of men, 0.01% of women
  • #204897 Deuteranomaly 6% of men, 0.4% of women
  • #4d4879 Tritanomaly 0.01% of the population