#5a2a98 Color Information

In a RGB color space, hex #5a2a98 is composed of 35.3% red, 16.5% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 72.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 266.2 degrees, a saturation of 56.7% and a lightness of 38%. #5a2a98 color hex could be obtained by blending #b454ff with #000031. Closest websafe color is: #663399.

    • R 35
    • G 16
    • B 60
    RGB color chart
    • C 41
    • M 72
    • Y 0
    • K 40
    CMYK color chart

#5a2a98 color description : Dark violet.

#5a2a98 Color Conversion

The hexadecimal color #5a2a98 has RGB values of R:90, G:42, B:152 and CMYK values of C:0.41, M:0.72, Y:0, K:0.4. Its decimal value is 5909144.

Hex triplet 5a2a98 #5a2a98
RGB Decimal 90, 42, 152 rgb(90,42,152)
RGB Percent 35.3, 16.5, 59.6 rgb(35.3%,16.5%,59.6%)
CMYK 41, 72, 0, 40
HSL 266.2°, 56.7, 38 hsl(266.2,56.7%,38%)
HSV (or HSB) 266.2°, 72.4, 59.6
Web Safe 663399 #663399
CIE-LAB 29.655, 44.721, -51.883
XYZ 10.711, 6.097, 30.316
xyY 0.227, 0.129, 6.097
CIE-LCH 29.655, 68.496, 310.76
CIE-LUV 29.655, 9.261, -71.012
Hunter-Lab 24.691, 34.223, -55.514
Binary 01011010, 00101010, 10011000

Color Schemes with #5a2a98

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

Alternatives to #5a2a98

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

Similar Colors

#5a2a98 Preview

Text with hexadecimal color #5a2a98

This text has a font color of #5a2a98.

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

This paragraph has a background color of #5a2a98.

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

This element has a border color of #5a2a98.

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

Shades and Tints of #5a2a98

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, #08040e is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2a98

A tone is produced by adding gray to any pure hue. In this case, #615e64 is the less saturated color, while #5505bd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2a98 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
  • #454545 Achromatopsia 0.005% of the population
  • #494056 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d96 Protanopia 1% of men
  • #005184 Deuteranopia 1% of men
  • #4e4f54 Tritanopia 0.001% of the population
Trichromacy
  • #204097 Protanomaly 1% of men, 0.01% of women
  • #20428b Deuteranomaly 6% of men, 0.4% of women
  • #52416d Tritanomaly 0.01% of the population