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%.
#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
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Purple/blue text on white | 8.10 : 1 | 87 | AAA — any text |
| Purple/blue text on black | 2.59 : 1 | -16 | Fails for text |
| White text on Purple/blue | 8.10 : 1 | -91 | AAA — any text |
| Black text on Purple/blue | 2.59 : 1 | 17 | Fails for 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
- Violet Blue #510AC9
- Blue With A Hint Of Purple #533CC6
- Burple #6832E3
- Purply Blue #661AEE
- Blue/purple #5A06EF
- Bluey Purple #6241C7
- Purplish Blue #601EF9
- Bluish Purple #703BE7
- Purpleish Blue #6140EF
- Indigo Blue #3A18B1
Sources and licences
- xkcd color survey (Randall Munroe, CC0 1.0)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)