#5f3398 Color Information

In a RGB color space, hex #5f3398 is composed of 37.3% red, 20% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 66.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 266.1 degrees, a saturation of 49.8% and a lightness of 39.8%. #5f3398 color hex could be obtained by blending #be66ff with #000031. Closest websafe color is: #663399.

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

#5f3398 color description : Dark moderate violet.

#5f3398 Color Conversion

The hexadecimal color #5f3398 has RGB values of R:95, G:51, B:152 and CMYK values of C:0.38, M:0.66, Y:0, K:0.4. Its decimal value is 6239128.

Hex triplet 5f3398 #5f3398
RGB Decimal 95, 51, 152 rgb(95,51,152)
RGB Percent 37.3, 20, 59.6 rgb(37.3%,20%,59.6%)
CMYK 38, 66, 0, 40
HSL 266.1°, 49.8, 39.8 hsl(266.1,49.8%,39.8%)
HSV (or HSB) 266.1°, 66.4, 59.6
Web Safe 663399 #663399
CIE-LAB 31.96, 41.073, -48.112
XYZ 11.57, 7.068, 30.459
xyY 0.236, 0.144, 7.068
CIE-LCH 31.96, 63.259, 310.487
CIE-LUV 31.96, 9.819, -68.111
Hunter-Lab 26.585, 31.159, -49.32
Binary 01011111, 00110011, 10011000

Color Schemes with #5f3398

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

Alternatives to #5f3398

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

Similar Colors

#5f3398 Preview

Text with hexadecimal color #5f3398

This text has a font color of #5f3398.

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

This paragraph has a background color of #5f3398.

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

This element has a border color of #5f3398.

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

Shades and Tints of #5f3398

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

Shade Color Variation
Tint Color Variation

Tones of #5f3398

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f3398 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
  • #4c4c4c Achromatopsia 0.005% of the population
  • #50475b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0051a0 Protanopia 1% of men
  • #00568e Deuteranopia 1% of men
  • #555359 Tritanopia 0.001% of the population
Trichromacy
  • #22469d Protanomaly 1% of men, 0.01% of women
  • #224991 Deuteranomaly 6% of men, 0.4% of women
  • #594770 Tritanomaly 0.01% of the population