#5f3798 Color Information

In a RGB color space, hex #5f3798 is composed of 37.3% red, 21.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 63.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 264.7 degrees, a saturation of 46.9% and a lightness of 40.6%. #5f3798 color hex could be obtained by blending #be6eff with #000031. Closest websafe color is: #663399.

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

#5f3798 color description : Dark moderate violet.

#5f3798 Color Conversion

The hexadecimal color #5f3798 has RGB values of R:95, G:55, B:152 and CMYK values of C:0.38, M:0.64, Y:0, K:0.4. Its decimal value is 6240152.

Hex triplet 5f3798 #5f3798
RGB Decimal 95, 55, 152 rgb(95,55,152)
RGB Percent 37.3, 21.6, 59.6 rgb(37.3%,21.6%,59.6%)
CMYK 38, 64, 0, 40
HSL 264.7°, 46.9, 40.6 hsl(264.7,46.9%,40.6%)
HSV (or HSB) 264.7°, 63.8, 59.6
Web Safe 663399 #663399
CIE-LAB 32.771, 38.871, -46.8
XYZ 11.752, 7.432, 30.519
xyY 0.236, 0.15, 7.432
CIE-LCH 32.771, 60.838, 309.713
CIE-LUV 32.771, 8.952, -66.852
Hunter-Lab 27.262, 29.238, -47.29
Binary 01011111, 00110111, 10011000

Color Schemes with #5f3798

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

Alternatives to #5f3798

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

Similar Colors

#5f3798 Preview

Text with hexadecimal color #5f3798

This text has a font color of #5f3798.

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

This paragraph has a background color of #5f3798.

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

This element has a border color of #5f3798.

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

Shades and Tints of #5f3798

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

Shade Color Variation
Tint Color Variation

Tones of #5f3798

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

Tone Color Variation

Color Blindness Simulator

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

  • #4e4e4e Achromatopsia 0.005% of the population
  • #51495d Atypical Achromatopsia 0.001% of the population
  • #0053a3 Protanopia 1% of men
  • #005791 Deuteranopia 1% of men
  • #56555b Tritanopia 0.001% of the population
  • #22499f Protanomaly 1% of men, 0.01% of women
  • #224b94 Deuteranomaly 6% of men, 0.4% of women
  • #594a71 Tritanomaly 0.01% of the population