#5f398b Color Information

In a RGB color space, hex #5f398b is composed of 37.3% red, 22.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 59% magenta, 0% yellow and 45.5% black. It has a hue angle of 267.8 degrees, a saturation of 41.8% and a lightness of 38.4%. #5f398b color hex could be obtained by blending #be72ff with #000017. Closest websafe color is: #663399.

    • R 37
    • G 22
    • B 55
    RGB color chart
    • C 32
    • M 59
    • Y 0
    • K 45
    CMYK color chart

#5f398b color description : Dark moderate violet.

#5f398b Color Conversion

The hexadecimal color #5f398b has RGB values of R:95, G:57, B:139 and CMYK values of C:0.32, M:0.59, Y:0, K:0.45. Its decimal value is 6240651.

Hex triplet 5f398b #5f398b
RGB Decimal 95, 57, 139 rgb(95,57,139)
RGB Percent 37.3, 22.4, 54.5 rgb(37.3%,22.4%,54.5%)
CMYK 32, 59, 0, 45
HSL 267.8°, 41.8, 38.4 hsl(267.8,41.8%,38.4%)
HSV (or HSB) 267.8°, 59, 54.5
Web Safe 663399 #663399
CIE-LAB 32.31, 34.256, -39.578
XYZ 10.842, 7.223, 25.248
xyY 0.25, 0.167, 7.223
CIE-LCH 32.31, 52.344, 310.877
CIE-LUV 32.31, 10.346, -56.637
Hunter-Lab 26.876, 24.974, -36.884
Binary 01011111, 00111001, 10001011

Color Schemes with #5f398b

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

Alternatives to #5f398b

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

Similar Colors

#5f398b Preview

Text with hexadecimal color #5f398b

This text has a font color of #5f398b.

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

This paragraph has a background color of #5f398b.

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

This element has a border color of #5f398b.

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

Shades and Tints of #5f398b

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, #09060e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f398b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f398b 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
  • #4e4e4e Achromatopsia 0.005% of the population
  • #514a5a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1c529e Protanopia 1% of men
  • #29568a Deuteranopia 1% of men
  • #5a5359 Tritanopia 0.001% of the population
Trichromacy
  • #344997 Protanomaly 1% of men, 0.01% of women
  • #3d4b8a Deuteranomaly 6% of men, 0.4% of women
  • #5c496b Tritanomaly 0.01% of the population