#5a138b Color Information

In a RGB color space, hex #5a138b is composed of 35.3% red, 7.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 86.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 275.5 degrees, a saturation of 75.9% and a lightness of 31%. #5a138b color hex could be obtained by blending #b426ff with #000017. Closest websafe color is: #660099.

    • R 35
    • G 7
    • B 55
    RGB color chart
    • C 35
    • M 86
    • Y 0
    • K 45
    CMYK color chart

#5a138b color description : Dark violet.

#5a138b Color Conversion

The hexadecimal color #5a138b has RGB values of R:90, G:19, B:139 and CMYK values of C:0.35, M:0.86, Y:0, K:0.45. Its decimal value is 5903243.

Hex triplet 5a138b #5a138b
RGB Decimal 90, 19, 139 rgb(90,19,139)
RGB Percent 35.3, 7.5, 54.5 rgb(35.3%,7.5%,54.5%)
CMYK 35, 86, 0, 45
HSL 275.5°, 75.9, 31 hsl(275.5,75.9%,31%)
HSV (or HSB) 275.5°, 86.3, 54.5
Web Safe 660099 #660099
CIE-LAB 25.271, 50.919, -51.007
XYZ 9.109, 4.504, 24.814
xyY 0.237, 0.117, 4.504
CIE-LCH 25.271, 72.072, 314.951
CIE-LUV 25.271, 14.22, -65.736
Hunter-Lab 21.222, 39.478, -54.471
Binary 01011010, 00010011, 10001011

Color Schemes with #5a138b

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

Alternatives to #5a138b

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

Similar Colors

#5a138b Preview

Text with hexadecimal color #5a138b

This text has a font color of #5a138b.

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

This paragraph has a background color of #5a138b.

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

This element has a border color of #5a138b.

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

Shades and Tints of #5a138b

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

Shade Color Variation
Tint Color Variation

Tones of #5a138b

A tone is produced by adding gray to any pure hue. In this case, #504a54 is the less saturated color, while #5d019d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a138b 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
  • #363636 Achromatopsia 0.005% of the population
  • #3d2f47 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004484 Protanopia 1% of men
  • #004774 Deuteranopia 1% of men
  • #514246 Tritanopia 0.001% of the population
Trichromacy
  • #203286 Protanomaly 1% of men, 0.01% of women
  • #20347c Deuteranomaly 6% of men, 0.4% of women
  • #54305f Tritanomaly 0.01% of the population