Black Friday 2026: design deals we check every day. See the deals →

#5B3AAF Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#5b3aaf
Hex color #5b3aaf graphic
#5b3aaf is a saturated, medium-dark purple with cool violet undertones and a bold, focused presence. Its strong chroma brings energy and mystery to branding, gaming interfaces, calls to action, and creative accents. Use it as a supporting tone beside warm cream or muted gold. The hex code #5b3aaf supports clear white text with about 7.9:1 contrast.

Color Conversions

Hex color #5b3aaf converted to various formats including hex, rgb, hsl, and more.

  • Hex#5b3aaf
  • RGBrgb(91, 58, 175)
  • RGB Percentagesrgb(36%, 23%, 69%)
  • CMYK48%, 67%, 0%, 31%
  • HSLhsl(257, 50%, 46%)
  • HSVhsv(257, 67%, 69%)
  • OKLCHoklch(45.6% 0.176 290.7)
  • LCH35, 72, 307
  • LAB35, 43, -58
  • LUV35, 4, -82
  • XYZ14, 8, 41
  • Closest Tailwind Colorindigo-800

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#5b3aaf
#6950b8
#7764c1
#8677ca
#968ad3
#a69edb
#b7b1e3
#c9c4ea
#dad8f1
#edebf8

Darken

Shades of the color as they darken toward black.

#5b3aaf
#4e3198
#412881
#35206b
#291856
#1e1041
#13092e
#09041c
#03010b
#000001

Desaturate

Desaturated versions of this color.

#5b3aaf
#5e43ab
#614ca7
#6454a3
#675b9f
#6b629a
#6f6896
#736e91
#77748b
#7c7a86

Hue

Various hues of this color.

#af3a40
#af3a71
#af3aa1
#8c3aaf
#5b3aaf
#3a4aaf
#3a7aaf
#3aabaf
#3aaf82

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#5b3aaf
#3a48af
#443aaf

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#5b3aaf
#7148d9
#030205
#19102f
#2f1e5a
#452c84

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#5b3aaf
#8eaf3a

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#5b3aaf
#af3a77
#48af3a

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#5b3aaf
#af5b3a
#3aaf5b

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#5b3aaf
#af3a53
#8eaf3a
#3aaf95

Contrast Checker

Contrast test results for the color #5b3aaf on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #5b3aaf appears to people with color vision deficiency (CVD).

Normal Vision
#5b3aaf
Protanopia
#4040af
Red-blind (~1% of males)
Deuteranopia
#4545ae
Green-blind (~1% of males)
Tritanopia
#4c4949
Blue-blind (very rare)
Achromatopsia
#494949
Total color blindness

Questions about #5b3aaf

What is #5b3aaf in RGB, HSL and CMYK?
In RGB, #5b3aaf is rgb(91, 58, 175), in HSL hsl(257, 50%, 46%) and in CMYK 48%, 67%, 0%, 31%. Browse more shades of purple with names and hex codes.
What colors pair well with #5b3aaf?
The #5b3aaf hex color pairs well with warm cream and muted gold, which balance its cool violet undertones without competing with its saturated, medium-dark depth in interfaces and brand palettes. Use cream for open layouts and gold for a more expressive accent.
Does #5b3aaf read as a warm or cool color?
The #5b3aaf hex color reads as cool because its violet undertones lean toward blue rather than red, while its strong saturation keeps the shade vivid, energetic, and focused instead of soft, dusty, or muted.
Is #5b3aaf readable on white or black?
#5b3aaf has a 7.86:1 contrast ratio on white and 2.66:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.