AfoliOpen Afoli →

Royal Purple color #4B006E

Royal Purple is a color name from the xkcd color survey for the hex code #4B006E — RGB 75, 0, 110, HSL 281°, 100%, 22%.

Open in Afoli Colour tools →

#4B006ERoyal Purple

Color codes

HEX
#4B006E
RGB
rgb(75, 0, 110)
HSL
hsl(281, 100%, 22%)
CMYK
32%, 100%, 0%, 57%
OKLCH
oklch(31.9% 0.162 309.6)

Tints and shades

#F9F2FF#E9CDFF#D9A7FF#C486F1#AA6DD5#9154BA#783BA0#602186#49006C#2E0046#150023

Color harmonies

Complementary
#4B006E#243B00
Analogous
#2A1881#4B006E#5B0049
Triadic
#4B006E#492B00#003B39
Split complementary
#4B006E#3B3300#003E25
Tetradic
#4B006E#5B1900#243B00#003947

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Royal Purple text on white13.78 : 199AAA — any text
Royal Purple text on black1.52 : 10Fails for text
White text on Royal Purple13.78 : 1-102AAA — any text
Black text on Royal Purple1.52 : 10Fails 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.

Palettes with this color

Frequently asked questions

What is the hex code of Royal Purple?

Royal Purple has the hex code #4B006E, which is RGB 75, 0, 110 and HSL 281°, 100%, 22%.

Which text color reads best on Royal Purple?

White text: contrast 13.78 : 1 (black text: 1.52 : 1).

Which colors go well with Royal Purple?

Its complementary color is #243B00; analogous colors are #2A1881 and #5B0049; a triadic set adds #492B00 and #003B39.

Similar colors

Sources and licences

Updated November 21, 2026