#5a1f68 Color Information

In a RGB color space, hex #5a1f68 is composed of 35.3% red, 12.2% green and 40.8% blue. Whereas in a CMYK color space, it is composed of 13.5% cyan, 70.2% magenta, 0% yellow and 59.2% black. It has a hue angle of 288.5 degrees, a saturation of 54.1% and a lightness of 26.5%. #5a1f68 color hex could be obtained by blending #b43ed0 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 41
    RGB color chart
    • C 13
    • M 70
    • Y 0
    • K 59
    CMYK color chart

#5a1f68 color description : Very dark magenta.

#5a1f68 Color Conversion

The hexadecimal color #5a1f68 has RGB values of R:90, G:31, B:104 and CMYK values of C:0.13, M:0.7, Y:0, K:0.59. Its decimal value is 5906280.

Hex triplet 5a1f68 #5a1f68
RGB Decimal 90, 31, 104 rgb(90,31,104)
RGB Percent 35.3, 12.2, 40.8 rgb(35.3%,12.2%,40.8%)
CMYK 13, 70, 0, 59
HSL 288.5°, 54.1, 26.5 hsl(288.5,54.1%,26.5%)
HSV (or HSB) 288.5°, 70.2, 40.8
Web Safe 663366 #663366
CIE-LAB 24.172, 38.452, -30.511
XYZ 7.205, 4.153, 13.518
xyY 0.29, 0.167, 4.153
CIE-LCH 24.172, 49.086, 321.568
CIE-LUV 24.172, 20.115, -40.442
Hunter-Lab 20.38, 27.439, -25.061
Binary 01011010, 00011111, 01101000

Color Schemes with #5a1f68

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

Alternatives to #5a1f68

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

Similar Colors

#5a1f68 Preview

Text with hexadecimal color #5a1f68

This text has a font color of #5a1f68.

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

This paragraph has a background color of #5a1f68.

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

This element has a border color of #5a1f68.

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

Shades and Tints of #5a1f68

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, #0c040d is the darkest color, while #fefdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f68

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f68 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
  • #393939 Achromatopsia 0.005% of the population
  • #403442 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004180 Protanopia 1% of men
  • #2c4368 Deuteranopia 1% of men
  • #5a3a3e Tritanopia 0.001% of the population
Trichromacy
  • #203577 Protanomaly 1% of men, 0.01% of women
  • #3c3668 Deuteranomaly 6% of men, 0.4% of women
  • #5a304d Tritanomaly 0.01% of the population