#5f308b Color Information

In a RGB color space, hex #5f308b is composed of 37.3% red, 18.8% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 65.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 271 degrees, a saturation of 48.7% and a lightness of 36.7%. #5f308b color hex could be obtained by blending #be60ff with #000017. Closest websafe color is: #663399.

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

#5f308b color description : Dark moderate violet.

#5f308b Color Conversion

The hexadecimal color #5f308b has RGB values of R:95, G:48, B:139 and CMYK values of C:0.32, M:0.65, Y:0, K:0.45. Its decimal value is 6238347.

Hex triplet 5f308b #5f308b
RGB Decimal 95, 48, 139 rgb(95,48,139)
RGB Percent 37.3, 18.8, 54.5 rgb(37.3%,18.8%,54.5%)
CMYK 32, 65, 0, 45
HSL 271°, 48.7, 36.7 hsl(271,48.7%,36.7%)
HSV (or HSB) 271°, 65.5, 54.5
Web Safe 663399 #663399
CIE-LAB 30.427, 39.308, -42.605
XYZ 10.436, 6.411, 25.112
xyY 0.249, 0.153, 6.411
CIE-LCH 30.427, 57.968, 312.695
CIE-LUV 30.427, 12.497, -59.807
Hunter-Lab 25.32, 29.26, -41.08
Binary 01011111, 00110000, 10001011

Color Schemes with #5f308b

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

Alternatives to #5f308b

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

Similar Colors

#5f308b Preview

Text with hexadecimal color #5f308b

This text has a font color of #5f308b.

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

This paragraph has a background color of #5f308b.

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

This element has a border color of #5f308b.

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

Shades and Tints of #5f308b

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

Shade Color Variation
Tint Color Variation

Tones of #5f308b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f308b 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
  • #4d4355 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e9a Protanopia 1% of men
  • #125288 Deuteranopia 1% of men
  • #594e53 Tritanopia 0.001% of the population
Trichromacy
  • #224394 Protanomaly 1% of men, 0.01% of women
  • #2e4589 Deuteranomaly 6% of men, 0.4% of women
  • #5b4367 Tritanomaly 0.01% of the population