AfoliOpen Afoli →

Violet Blue color #510AC9

Violet Blue is a color name from the xkcd color survey for the hex code #510AC9 — RGB 81, 10, 201, HSL 262°, 91%, 41%.

Open in Afoli Colour tools →

#510AC9Violet Blue

Color codes

HEX
#510AC9
RGB
rgb(81, 10, 201)
HSL
hsl(262, 91%, 41%)
CMYK
60%, 95%, 0%, 21%
OKLCH
oklch(42.7% 0.242 286)

Tints and shades

#F4F4FF#D6D5FF#BAB6FF#9F95FF#8772FF#724AF8#5D2ADB#4900B8#330086#1F0058#0C002E

Color harmonies

Complementary
#510AC9#565100
Analogous
#004C9C#510AC9#790099
Triadic
#510AC9#823400#005E44
Split complementary
#510AC9#6B4700#2A5D00
Tetradic
#510AC9#96002D#565100#005B5C

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Violet Blue text on white9.39 : 190AAA — any text
Violet Blue text on black2.24 : 1-13Fails for text
White text on Violet Blue9.39 : 1-94AAA — any text
Black text on Violet Blue2.24 : 114Fails 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 Violet Blue?

Violet Blue has the hex code #510AC9, which is RGB 81, 10, 201 and HSL 262°, 91%, 41%.

Which text color reads best on Violet Blue?

White text: contrast 9.39 : 1 (black text: 2.24 : 1).

Which colors go well with Violet Blue?

Its complementary color is #565100; analogous colors are #004C9C and #790099; a triadic set adds #823400 and #005E44.

Similar colors

Sources and licences

Updated November 21, 2026