#5b228c Color Information

In a RGB color space, hex #5b228c is composed of 35.7% red, 13.3% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35% cyan, 75.7% magenta, 0% yellow and 45.1% black. It has a hue angle of 272.3 degrees, a saturation of 60.9% and a lightness of 34.1%. #5b228c color hex could be obtained by blending #b644ff with #000019. Closest websafe color is: #663399.

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

#5b228c color description : Dark violet.

#5b228c Color Conversion

The hexadecimal color #5b228c has RGB values of R:91, G:34, B:140 and CMYK values of C:0.35, M:0.76, Y:0, K:0.45. Its decimal value is 5972620.

Hex triplet 5b228c #5b228c
RGB Decimal 91, 34, 140 rgb(91,34,140)
RGB Percent 35.7, 13.3, 54.9 rgb(35.7%,13.3%,54.9%)
CMYK 35, 76, 0, 45
HSL 272.3°, 60.9, 34.1 hsl(272.3,60.9%,34.1%)
HSV (or HSB) 272.3°, 75.7, 54.9
Web Safe 663399 #663399
CIE-LAB 27.468, 45.647, -48.041
XYZ 9.619, 5.262, 25.318
xyY 0.239, 0.131, 5.262
CIE-LCH 27.468, 66.269, 313.536
CIE-LUV 27.468, 12.877, -64.439
Hunter-Lab 22.939, 34.711, -49.384
Binary 01011011, 00100010, 10001100

Color Schemes with #5b228c

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

Alternatives to #5b228c

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

Similar Colors

#5b228c Preview

Text with hexadecimal color #5b228c

This text has a font color of #5b228c.

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

This paragraph has a background color of #5b228c.

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

This element has a border color of #5b228c.

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

Shades and Tints of #5b228c

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

Shade Color Variation
Tint Color Variation

Tones of #5b228c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b228c 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #45394e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488d Protanopia 1% of men
  • #004c7d Deuteranopia 1% of men
  • #53474c Tritanopia 0.001% of the population
Trichromacy
  • #213a8c Protanomaly 1% of men, 0.01% of women
  • #213c82 Deuteranomaly 6% of men, 0.4% of women
  • #563963 Tritanomaly 0.01% of the population