#5f2d98 Color Information

In a RGB color space, hex #5f2d98 is composed of 37.3% red, 17.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 70.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 268 degrees, a saturation of 54.3% and a lightness of 38.6%. #5f2d98 color hex could be obtained by blending #be5aff with #000031. Closest websafe color is: #663399.

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

#5f2d98 color description : Dark violet.

#5f2d98 Color Conversion

The hexadecimal color #5f2d98 has RGB values of R:95, G:45, B:152 and CMYK values of C:0.38, M:0.7, Y:0, K:0.4. Its decimal value is 6237592.

Hex triplet 5f2d98 #5f2d98
RGB Decimal 95, 45, 152 rgb(95,45,152)
RGB Percent 37.3, 17.6, 59.6 rgb(37.3%,17.6%,59.6%)
CMYK 38, 70, 0, 40
HSL 268°, 54.3, 38.6 hsl(268,54.3%,38.6%)
HSV (or HSB) 268°, 70.4, 59.6
Web Safe 663399 #663399
CIE-LAB 30.823, 44.209, -49.955
XYZ 11.324, 6.577, 30.377
xyY 0.235, 0.136, 6.577
CIE-LCH 30.823, 66.708, 311.508
CIE-LUV 30.823, 10.979, -69.726
Hunter-Lab 25.645, 33.942, -52.278
Binary 01011111, 00101101, 10011000

Color Schemes with #5f2d98

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

Alternatives to #5f2d98

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

Similar Colors

#5f2d98 Preview

Text with hexadecimal color #5f2d98

This text has a font color of #5f2d98.

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

This paragraph has a background color of #5f2d98.

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

This element has a border color of #5f2d98.

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

Shades and Tints of #5f2d98

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

Shade Color Variation
Tint Color Variation

Tones of #5f2d98

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f2d98 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
  • #484848 Achromatopsia 0.005% of the population
  • #4d4358 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9b Protanopia 1% of men
  • #005389 Deuteranopia 1% of men
  • #555056 Tritanopia 0.001% of the population
Trichromacy
  • #22439a Protanomaly 1% of men, 0.01% of women
  • #22458e Deuteranomaly 6% of men, 0.4% of women
  • #58436e Tritanomaly 0.01% of the population