#5b0c8b Color Information

In a RGB color space, hex #5b0c8b is composed of 35.7% red, 4.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 34.5% cyan, 91.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 277.3 degrees, a saturation of 84.1% and a lightness of 29.6%. #5b0c8b color hex could be obtained by blending #b618ff with #000017. Closest websafe color is: #660099.

    • R 36
    • G 5
    • B 55
    RGB color chart
    • C 35
    • M 91
    • Y 0
    • K 45
    CMYK color chart

#5b0c8b color description : Dark violet.

#5b0c8b Color Conversion

The hexadecimal color #5b0c8b has RGB values of R:91, G:12, B:139 and CMYK values of C:0.35, M:0.91, Y:0, K:0.45. Its decimal value is 5966987.

Hex triplet 5b0c8b #5b0c8b
RGB Decimal 91, 12, 139 rgb(91,12,139)
RGB Percent 35.7, 4.7, 54.5 rgb(35.7%,4.7%,54.5%)
CMYK 35, 91, 0, 45
HSL 277.3°, 84.1, 29.6 hsl(277.3,84.1%,29.6%)
HSV (or HSB) 277.3°, 91.4, 54.5
Web Safe 660099 #660099
CIE-LAB 24.801, 52.918, -51.77
XYZ 9.105, 4.351, 24.785
xyY 0.238, 0.114, 4.351
CIE-LCH 24.801, 74.03, 315.628
CIE-LUV 24.801, 15.167, -66.102
Hunter-Lab 20.86, 41.41, -55.844
Binary 01011011, 00001100, 10001011

Color Schemes with #5b0c8b

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

Alternatives to #5b0c8b

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

Similar Colors

#5b0c8b Preview

Text with hexadecimal color #5b0c8b

This text has a font color of #5b0c8b.

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

This paragraph has a background color of #5b0c8b.

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

This element has a border color of #5b0c8b.

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

Shades and Tints of #5b0c8b

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, #08010d is the darkest color, while #fdfaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5b0c8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b0c8b 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
  • #323232 Achromatopsia 0.005% of the population
  • #3a2a44 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004382 Protanopia 1% of men
  • #004672 Deuteranopia 1% of men
  • #524044 Tritanopia 0.001% of the population
Trichromacy
  • #212f85 Protanomaly 1% of men, 0.01% of women
  • #21317b Deuteranomaly 6% of men, 0.4% of women
  • #552d5e Tritanomaly 0.01% of the population