colorhexa.com

#5a0198 hex color

In a RGB color space, hex #5a0198 is composed of 35.3% red, 0.4% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 99.3% magenta, 0% yellow and 40.4% black. It has a hue angle of 275.4 degrees, a saturation of 98.7% and a lightness of 30%. #5a0198 color hex could be obtained by blending #b402ff with #000031. Closest websafe color is: #660099.

    • R 35
    • G 0
    • B 60

    RGB color chart

    • C 41
    • M 99
    • Y 0
    • K 40

    CMYK color chart

#5a0198 color description : Dark violet.

The hexadecimal color #5a0198 has RGB values of R:90, G:1, B:152 and CMYK values of C:0.41, M:0.99, Y:0, K:0.4. Its decimal value is 5898648.

Hex triplet 5a0198 #5a0198
RGB Decimal 90, 1, 152 rgb(90,1,152)
RGB Percent 35.3, 0.4, 59.6 rgb(35.3%,0.4%,59.6%)
CMYK 41, 99, 0, 40
HSL 275.4°, 98.7, 30 hsl(275.4,98.7%,30%)
HSV (or HSB) 275.4°, 99.3, 59.6
Web Safe 660099 #660099
CIE-LAB 25.145, 57.856, -59.266
XYZ 9.894, 4.462, 30.044
xyY 0.223, 0.101, 4.462
CIE-LCH 25.145, 82.824, 314.31
CIE-LUV 25.145, 12.811, -74.461
Hunter-Lab 21.125, 46.634, -69.537
Binary 01011010, 00000001, 10011000

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #5a0198

This text has a font color of #5a0198.

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

#5a0198 background color

This paragraph has a background color of #5a0198.

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

#5a0198 border color

This element has a border color of #5a0198.

<div style="border:1px solid #5a0198;">Content here</div>

CSS codes

.text {color:#5a0198;}
.background {background-color:#5a0198;}
.border {border:1px solid #5a0198;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #5a0198 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

  • #2d2d2d Achromatopsia 0.005% of the population
  • #362442 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004383 Protanopia 1% of men
  • #004773 Deuteranopia 1% of men
  • #4c4348 Tritanopia 0.001% of the population

Trichromacy

  • #202b8b Protanomaly 1% of men, 0.01% of women
  • #202d80 Deuteranomaly 6% of men, 0.4% of women
  • #512b65 Tritanomaly 0.01% of the population