#5D315E color

#5D315E rgb(93, 49, 94)
Shades of purple

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

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

Its hue angle is 299°, with 31% saturation and 28% lightness. For print, the CMYK equivalent is 1% cyan, 48% magenta, 0% yellow and 63% black.

The closest named color is Long Passionate Night (#5B365E), a difference of 1.9 ΔE, which is barely visible.

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

#5D315E color codes

HEX#5D315E
RGBrgb(93, 49, 94)
RGB percentrgb(36.5%, 19.2%, 36.9%)
HSLhsl(299, 31%, 28%)
HSV / HSBhsv(299, 48%, 37%)
CMYKcmyk(1%, 48%, 0%, 63%)
CIE LABlab(27.66, 27.52, -18.47)
CIE LCHlch(27.66, 33.15, 326.13)
CIE XYZxyz(7.633, 5.332, 11.215)
Decimal6107486
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5D315E, 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 #5D315ERatioAAAAAAA large
Sample text2.07:1FailFailFail
Sample text10.16:1PassPassPass
#5D315E as text onRatioAAAAAAA large
Sample text10.16:1PassPassPass
Sample text2.07: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 #5D315E looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Byzantium.

Questions

What color is #5D315E?
#5D315E is a dark, desaturated magenta, closest to the named color Long Passionate Night. It belongs to the purple family of colors.
What is the RGB value of #5D315E?
The RGB value is 93, 49, 94: 93 red, 49 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #5D315E?
The complementary color is #325E31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5D315E?
White text. Black text has a contrast ratio of 2.07:1 and white text 10.16:1. WCAG asks for at least 4.5:1 for normal text.