#a5158b Color Information

In a RGB color space, hex #a5158b is composed of 64.7% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 87.3% magenta, 15.8% yellow and 35.3% black. It has a hue angle of 310.8 degrees, a saturation of 77.4% and a lightness of 36.5%. #a5158b color hex could be obtained by blending #ff2aff with #4b0017. Closest websafe color is: #990099.

    • R 65
    • G 8
    • B 55
    RGB color chart
    • C 0
    • M 87
    • Y 16
    • K 35
    CMYK color chart

#a5158b color description : Dark magenta.

#a5158b Color Conversion

The hexadecimal color #a5158b has RGB values of R:165, G:21, B:139 and CMYK values of C:0, M:0.87, Y:0.16, K:0.35. Its decimal value is 10818955.

Hex triplet a5158b #a5158b
RGB Decimal 165, 21, 139 rgb(165,21,139)
RGB Percent 64.7, 8.2, 54.5 rgb(64.7%,8.2%,54.5%)
CMYK 0, 87, 16, 35
HSL 310.8°, 77.4, 36.5 hsl(310.8,77.4%,36.5%)
HSV (or HSB) 310.8°, 87.3, 64.7
Web Safe 990099 #990099
CIE-LAB 38.553, 64.442, -28.988
XYZ 20.445, 10.401, 25.356
xyY 0.364, 0.185, 10.401
CIE-LCH 38.553, 70.662, 335.78
CIE-LUV 38.553, 63.152, -48.937
Hunter-Lab 32.251, 56.719, -24.037
Binary 10100101, 00010101, 10001011

Color Schemes with #a5158b

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

Alternatives to #a5158b

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

Similar Colors

#a5158b Preview

Text with hexadecimal color #a5158b

This text has a font color of #a5158b.

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

This paragraph has a background color of #a5158b.

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

This element has a border color of #a5158b.

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

Shades and Tints of #a5158b

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

Shade Color Variation
Tint Color Variation

Tones of #a5158b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #a5158b 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
  • #4e4e4e Achromatopsia 0.005% of the population
  • #5f435a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1a60ba Protanopia 1% of men
  • #586284 Deuteranopia 1% of men
  • #a24246 Tritanopia 0.001% of the population
Trichromacy
  • #4c44a9 Protanomaly 1% of men, 0.01% of women
  • #744686 Deuteranomaly 6% of men, 0.4% of women
  • #a3325f Tritanomaly 0.01% of the population