Dark violet
#331E4F
#331E4F is a dark violet with medium intensity, at step 900 of its 50–950 scale. White text on it has a contrast of 14.6:1. It is readable as text on white (14.6:1).
#331E4F shades and tints
Eleven steps from 50 to 950 with #331E4F kept exactly at step 900. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F8F5FF
- 100 EFE6FF
- 200 E0D0FF
- 300 C8B4EB
- 400 AC97D0
- 500 907BB4
- 600 766198
- 700 5D4A7C
- 800 473562
- 900 331E4F
- 950 1D112E
Tailwind CSS v4 theme
@theme { --color-violet-50: #f8f5ff; --color-violet-100: #efe6ff; --color-violet-200: #e0d0ff; --color-violet-300: #c8b4eb; --color-violet-400: #ac97d0; --color-violet-500: #907bb4; --color-violet-600: #766198; --color-violet-700: #5d4a7c; --color-violet-800: #473562; --color-violet-900: #331e4f; --color-violet-950: #1d112e;}Is #331E4F readable?
Contrast for text on #331E4F and for #331E4F used as text. WCAG 2.2 asks for 4.5:1 for body text and 3:1 for large text; APCA Lc rates how comfortable the text is to read.
- AaThe quick brown foxCheck in contrast tool
White text on it
AAA · 14.6APCA Lc 104 · Ideal for body text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
Fail · 1.3APCA Lc 0 · Not readable
- AaThe quick brown foxCheck in contrast tool
As text on white
AAA · 14.6APCA Lc 101 · Ideal for body text
- AaThe quick brown foxClosest readable: #8772AA · 4.5:1 Check in contrast tool
As text on a dark background
Fail · 1.3APCA Lc 0 · Not readable
Color palettes with #331E4F
Six palettes built around #331E4F, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#331E4F · #CB79C0 · #769FFD · #FFD7E3 · #262231
- Complementary#331E4F · #91C357 · #8FC44F · #EAE0FF · #211D29
- Split complementary#331E4F · #C9B050 · #26CF7A · #EDE1FF · #27252D
- Triadic#331E4F · #CA8E47 · #00B293 · #DBCEFE · #2F2D36
- Tetradic#331E4F · #DA795B · #87C827 · #ABF7FF · #272430
- Monochromatic#331E4F · #9B84C2 · #AA88FF · #E3C6FF · #272429
#331E4F as a brand color
What a UI color system built from #331E4F looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F8F5FF
- Brand 100, #EFE6FF
- Brand 200, #E0D0FF
- Brand 300, #C8B4EB
- Brand 400, #AC97D0
- Brand 500, #907BB4
- Brand 600, #766198
- Brand 700, #5D4A7C
- Brand 800, #473562
- Brand 900, #331E4F
- Brand 950, #1D112E
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E6E4E8
- Neutral 300, #D5D3D8
- Neutral 400, #A29FA7
- Neutral 500, #74727A
- Neutral 600, #55535B
- Neutral 700, #413F46
- Neutral 800, #29272D
- Neutral 900, #19171D
- Neutral 950, #0B090E
Success
- Success 50, #E3FFEE
- Success 100, #B4FFD6
- Success 200, #9AEFC1
- Success 300, #77D6A6
- Success 400, #51BB88
- Success 500, #1D9765
- Success 600, #008254
- Success 700, #006641
- Success 800, #004D30
- Success 900, #003520
- Success 950, #001F10
Warning
- Warning 50, #FFF5EB
- Warning 100, #FFE7CE
- Warning 200, #FFCF9D
- Warning 300, #F1B169
- Warning 400, #DF9A48
- Warning 500, #B9771D
- Warning 600, #995E00
- Warning 700, #784900
- Warning 800, #5B3600
- Warning 900, #402400
- Warning 950, #261300
Danger
- Danger 50, #FFF4F3
- Danger 100, #FFE4E2
- Danger 200, #FFCAC7
- Danger 300, #FFA29F
- Danger 400, #F77575
- Danger 500, #D95659
- Danger 600, #BF3E43
- Danger 700, #991F2A
- Danger 800, #7B0419
- Danger 900, #58000E
- Danger 950, #360005
Info
- Info 50, #F2F7FF
- Info 100, #DFEDFF
- Info 200, #C0DCFF
- Info 300, #93C3FF
- Info 400, #70A6EB
- Info 500, #538ACE
- Info 600, #4076B9
- Info 700, #235693
- Info 800, #103F76
- Info 900, #012A59
- Info 950, #001737
- Primary buttons use Brand 900 with white text, at 14.6:1.
- In dark mode primary lifts to Brand 500 so it reads on the dark background, at 5.4:1.
- Neutrals carry a hint of its hue, so grays, borders and surfaces feel related to the brand.
- Success, warning, danger and info lean toward its hue and stay easy to tell apart.
Colors related to #331E4F
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.