#5D3168 color

#5D3168 rgb(93, 49, 104)
Shades of purple

The hex color #5D3168 is a dark, desaturated magenta.

In the RGB color model it is made of 36.5% red, 19.2% green and 40.8% blue (93, 49, 104).

Its hue angle is 288°, with 36% saturation and 30% lightness. For print, the CMYK equivalent is 11% cyan, 53% magenta, 0% yellow and 59% black.

The closest named color is Imperial Purple (#5B3167), a difference of 0.5 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 9.98:1).

#5D3168 color codes

HEX#5D3168
RGBrgb(93, 49, 104)
RGB percentrgb(36.5%, 19.2%, 40.8%)
HSLhsl(288, 36%, 30%)
HSV / HSBhsv(288, 53%, 41%)
CMYKcmyk(11%, 53%, 0%, 59%)
CIE LABlab(28.18, 29.71, -24.13)
CIE LCHlch(28.18, 38.28, 320.92)
CIE XYZxyz(8.111, 5.524, 13.733)
Decimal6107496
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5D3168, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #5D3168RatioAAAAAAA large
Sample text2.1:1FailFailFail
Sample text9.98:1PassPassPass
#5D3168 as text onRatioAAAAAAA large
Sample text9.98:1PassPassPass
Sample text2.1:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #5D3168 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5d3168; }
.text { color: #5d3168; }
.border { border: 2px solid #5d3168; }
.transparent { background-color: rgb(93 49 104 / 50%); }
.gradient { background: linear-gradient(to right, #5d3168, #683158); }
Background
Text color
Border

Similar colors

Closest common color name: Byzantium.

Questions

What color is #5D3168?
#5D3168 is a dark, desaturated magenta, closest to the named color Imperial Purple. It belongs to the purple family of colors.
What is the RGB value of #5D3168?
The RGB value is 93, 49, 104: 93 red, 49 green and 104 blue on a 0 to 255 scale.
What is the complementary color of #5D3168?
The complementary color is #3C6831, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5D3168?
White text. Black text has a contrast ratio of 2.1:1 and white text 9.98:1. WCAG asks for at least 4.5:1 for normal text.