#5a1fab Color Information

In a RGB color space, hex #5a1fab is composed of 35.3% red, 12.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 81.9% magenta, 0% yellow and 32.9% black. It has a hue angle of 265.3 degrees, a saturation of 69.3% and a lightness of 39.6%. #5a1fab color hex could be obtained by blending #b43eff with #000057. Closest websafe color is: #663399.

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

#5a1fab color description : Dark violet.

#5a1fab Color Conversion

The hexadecimal color #5a1fab has RGB values of R:90, G:31, B:171 and CMYK values of C:0.47, M:0.82, Y:0, K:0.33. Its decimal value is 5906347.

Hex triplet 5a1fab #5a1fab
RGB Decimal 90, 31, 171 rgb(90,31,171)
RGB Percent 35.3, 12.2, 67.1 rgb(35.3%,12.2%,67.1%)
CMYK 47, 82, 0, 33
HSL 265.3°, 69.3, 39.6 hsl(265.3,69.3%,39.6%)
HSV (or HSB) 265.3°, 81.9, 67.1
Web Safe 663399 #663399
CIE-LAB 29.648, 54.463, -63.414
XYZ 12.056, 6.094, 39.067
xyY 0.211, 0.107, 6.094
CIE-LCH 29.648, 83.591, 310.658
CIE-LUV 29.648, 7.978, -84.714
Hunter-Lab 24.686, 43.975, -76.551
Binary 01011010, 00011111, 10101011

Color Schemes with #5a1fab

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

Alternatives to #5a1fab

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

Similar Colors

#5a1fab Preview

Text with hexadecimal color #5a1fab

This text has a font color of #5a1fab.

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

This paragraph has a background color of #5a1fab.

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

This element has a border color of #5a1fab.

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

Shades and Tints of #5a1fab

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

Shade Color Variation
Tint Color Variation

Tones of #5a1fab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1fab 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
  • #414141 Achromatopsia 0.005% of the population
  • #463a56 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d96 Protanopia 1% of men
  • #005183 Deuteranopia 1% of men
  • #455157 Tritanopia 0.001% of the population
Trichromacy
  • #203c9d Protanomaly 1% of men, 0.01% of women
  • #203f91 Deuteranomaly 6% of men, 0.4% of women
  • #4c3f75 Tritanomaly 0.01% of the population