#5f1a98 Color Information

In a RGB color space, hex #5f1a98 is composed of 37.3% red, 10.2% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 82.9% magenta, 0% yellow and 40.4% black. It has a hue angle of 272.9 degrees, a saturation of 70.8% and a lightness of 34.9%. #5f1a98 color hex could be obtained by blending #be34ff with #000031. Closest websafe color is: #663399.

    • R 37
    • G 10
    • B 60
    RGB color chart
    • C 38
    • M 83
    • Y 0
    • K 40
    CMYK color chart

#5f1a98 color description : Dark violet.

#5f1a98 Color Conversion

The hexadecimal color #5f1a98 has RGB values of R:95, G:26, B:152 and CMYK values of C:0.38, M:0.83, Y:0, K:0.4. Its decimal value is 6232728.

Hex triplet 5f1a98 #5f1a98
RGB Decimal 95, 26, 152 rgb(95,26,152)
RGB Percent 37.3, 10.2, 59.6 rgb(37.3%,10.2%,59.6%)
CMYK 38, 83, 0, 40
HSL 272.9°, 70.8, 34.9 hsl(272.9,70.8%,34.9%)
HSV (or HSB) 272.9°, 82.9, 59.6
Web Safe 663399 #663399
CIE-LAB 27.95, 52.402, -54.636
XYZ 10.755, 5.439, 30.187
xyY 0.232, 0.117, 5.439
CIE-LCH 27.95, 75.704, 313.804
CIE-LUV 27.95, 13.582, -72.927
Hunter-Lab 23.321, 41.508, -60.42
Binary 01011111, 00011010, 10011000

Color Schemes with #5f1a98

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

Alternatives to #5f1a98

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

Similar Colors

#5f1a98 Preview

Text with hexadecimal color #5f1a98

This text has a font color of #5f1a98.

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

This paragraph has a background color of #5f1a98.

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

This element has a border color of #5f1a98.

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

Shades and Tints of #5f1a98

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 #f7effc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f1a98

A tone is produced by adding gray to any pure hue. In this case, #59585a is the less saturated color, while #6105ad is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f1a98 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #44364f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7e Deuteranopia 1% of men
  • #53484e Tritanopia 0.001% of the population
Trichromacy
  • #223892 Protanomaly 1% of men, 0.01% of women
  • #223a87 Deuteranomaly 6% of men, 0.4% of women
  • #573768 Tritanomaly 0.01% of the population