#5D175B color

#5D175B rgb(93, 23, 91)
Shades of purple

The hex color #5D175B is a dark, moderate magenta.

In the RGB color model it is made of 36.5% red, 9% green and 35.7% blue (93, 23, 91).

Its hue angle is 302°, with 60% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 75% magenta, 2% yellow and 64% black.

The closest named color is Purple Velour (#581A57), a difference of 1.3 ΔE, which is barely visible.

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

#5D175B color codes

HEX#5D175B
RGBrgb(93, 23, 91)
RGB percentrgb(36.5%, 9%, 35.7%)
HSLhsl(302, 60%, 23%)
HSV / HSBhsv(302, 75%, 36%)
CMYKcmyk(0%, 75%, 2%, 64%)
CIE LABlab(22.64, 40.09, -24.38)
CIE LCHlch(22.64, 46.92, 328.7)
CIE XYZxyz(6.709, 3.696, 10.256)
Decimal6100827
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5D175B, 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 #5D175BRatioAAAAAAA large
Sample text1.74:1FailFailFail
Sample text12.08:1PassPassPass
#5D175B as text onRatioAAAAAAA large
Sample text12.08:1PassPassPass
Sample text1.74: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 #5D175B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5d175b; }
.text { color: #5d175b; }
.border { border: 2px solid #5d175b; }
.transparent { background-color: rgb(93 23 91 / 50%); }
.gradient { background: linear-gradient(to right, #5d175b, #5d1738); }
Background
Text color
Border

Similar colors

Questions

What color is #5D175B?
#5D175B is a dark, moderate magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
What is the RGB value of #5D175B?
The RGB value is 93, 23, 91: 93 red, 23 green and 91 blue on a 0 to 255 scale.
What is the complementary color of #5D175B?
The complementary color is #175D19, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5D175B?
White text. Black text has a contrast ratio of 1.74:1 and white text 12.08:1. WCAG asks for at least 4.5:1 for normal text.