Blue Violet Color Code: Hex #8A2BE2
The hex code for Blue Violet is #8A2BE2 (the CSS keyword blueviolet). Blue Violet RGB code: rgb(138, 43, 226). The xkcd color survey gives #5D06E9 instead, which looks slightly different; both codes are below with their source.
#8A2BE2Top: the code browsers use#4E32B2Below: compare edge to edgeBlue Violet color codes: each Blue Violet hex code in every format
Sources
Properties
- Hex codes
- 3 different ones in 3 color lists; they look clearly different
- Family
- purple
- Contrast
- 5.96:1 with white, 3.52:1 with black
- CSS keyword
- blueviolet
- Character
- dark, vivid
- Readable text on it
- white (AA)
A dark, vivid purple with a cool cast. In code, blueviolet gives exactly this web value. If you mean the color as people usually picture the name, the survey value #5D06E9 is closer: it is darker and more vivid.
White text reads best on it; black text works only for large headings. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Dark Violet, its closest named neighbour, it looks about as light, more muted and cooler; beside Rebecca Purple it looks lighter, more vivid and cooler.
Colors that go with Blue Violet
Complementary: the opposite of Blue Violet
#8A2BE2White text 5.96:1#627700White text 5.05:1#BB96F4Black text 8.78:1#3A4700White text 10.09:1
Analogous
#424EFAWhite text 5.67:1#8A2BE2White text 5.96:1#B400AAWhite text 5.96:1#CDB3F9Black text 11.41:1
Triadic
#8A2BE2White text 5.96:1#9F5900White text 5.38:1#007F70White text 4.92:1#DFD0FCBlack text 14.57:1
Monochrome
#22053EWhite text 18.11:1#53168CWhite text 11.28:1#8A2BE2White text 5.96:1#AA78EFBlack text 6.64:1#CDB3F9Black text 11.41:1
With neutrals
#8A2BE2White text 5.96:1#DFD0FCBlack text 14.57:1#0D011CWhite text 20.23:1#8270A0Black text 4.77:1
Preview
Heading on Blue Violet
Body text on this color, 5.96:1.
ButtonHeading in Blue Violet
Text in this color on white, 5.96:1.
ButtonTints and shades
#DFD0FC#CDB3F9#BB96F4#AA78EF#9A57E9#8A2BE2#6E21B6#53168C#3A0D64#22053E#0D011C
WhiteBlue VioletBlack
Similar named colors
Lists and sources
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: