AfoliOpen Afoli →

Purple/blue color #5D21D0

Purple/blue is a color name from the xkcd color survey for the hex code #5D21D0 — RGB 93, 33, 208, HSL 261°, 73%, 47%.

Open in Afoli Colour tools →

#5D21D0Purple/blue

Color codes

HEX
#5D21D0
RGB
rgb(93, 33, 208)
HSL
hsl(261, 73%, 47%)
CMYK
55%, 84%, 0%, 18%
OKLCH
oklch(46% 0.237 288.5)

Tints and shades

#F4F4FF#D8D5FF#BCB5FF#A394FF#8C6FFF#774AF3#622AD6#4D00B5#360084#210056#0D002D

Color harmonies

Complementary
#5D21D0#5D5C00
Analogous
#0051B6#5D21D0#8800A4
Triadic
#5D21D0#8D3D00#00684E
Split complementary
#5D21D0#755000#256900
Tetradic
#5D21D0#A6002D#5D5C00#006568

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Purple/blue text on white8.10 : 187AAA — any text
Purple/blue text on black2.59 : 1-16Fails for text
White text on Purple/blue8.10 : 1-91AAA — any text
Black text on Purple/blue2.59 : 117Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Frequently asked questions

What is the hex code of Purple/blue?

Purple/blue has the hex code #5D21D0, which is RGB 93, 33, 208 and HSL 261°, 73%, 47%.

Which text color reads best on Purple/blue?

White text: contrast 8.10 : 1 (black text: 2.59 : 1).

Which colors go well with Purple/blue?

Its complementary color is #5D5C00; analogous colors are #0051B6 and #8800A4; a triadic set adds #8D3D00 and #00684E.

Similar colors

Sources and licences

Updated November 21, 2026