Dark violet
#312E81
#312E81 is a dark violet with medium intensity, at step 800 of its 50–950 scale. White text on it has a contrast of 11.4:1. It is readable as text on white (11.4:1).
#312E81 shades and tints
Eleven steps from 50 to 950 with #312E81 kept exactly at step 800. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F5F6FF
- 100 E6EAFF
- 200 D0D6FF
- 300 B1B9FF
- 400 9199F4
- 500 777DD7
- 600 5E62B9
- 700 484A9B
- 800 312E81
- 900 22215E
- 950 120E40
Tailwind CSS v4 theme
@theme { --color-violet-50: #f5f6ff; --color-violet-100: #e6eaff; --color-violet-200: #d0d6ff; --color-violet-300: #b1b9ff; --color-violet-400: #9199f4; --color-violet-500: #777dd7; --color-violet-600: #5e62b9; --color-violet-700: #484a9b; --color-violet-800: #312e81; --color-violet-900: #22215e; --color-violet-950: #120e40;}Is #312E81 readable?
Contrast for text on #312E81 and for #312E81 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 · 11.4APCA Lc 100 · Ideal for body text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
Fail · 1.7APCA Lc 0 · Not readable
- AaThe quick brown foxCheck in contrast tool
As text on white
AAA · 11.4APCA Lc 96 · Ideal for body text
- AaThe quick brown foxClosest readable: #6E74CD · 4.5:1 Check in contrast tool
As text on a dark background
Fail · 1.7APCA Lc 0 · Not readable
Color palettes with #312E81
Six palettes built around #312E81, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#312E81 · #A367BB · #51B9FF · #FFC9E8 · #2B2D36
- Complementary#312E81 · #C4B166 · #D1B22B · #C8D2FF · #242431
- Split complementary#312E81 · #DAA75E · #84C168 · #DCE2FF · #2A2A35
- Triadic#312E81 · #D16145 · #2ABC68 · #D0D9FF · #1E202D
- Tetradic#312E81 · #CA5569 · #D0AF00 · #ADF8ED · #1C202D
- Monochromatic#312E81 · #808FE4 · #8E9BFF · #E5E5FF · #2A2C34
#312E81 as a brand color
What a UI color system built from #312E81 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F5F6FF
- Brand 100, #E6EAFF
- Brand 200, #D0D6FF
- Brand 300, #B1B9FF
- Brand 400, #9199F4
- Brand 500, #777DD7
- Brand 600, #5E62B9
- Brand 700, #484A9B
- Brand 800, #312E81
- Brand 900, #22215E
- Brand 950, #120E40
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E4E5E8
- Neutral 300, #D3D4D9
- Neutral 400, #9FA0A8
- Neutral 500, #71737B
- Neutral 600, #52545C
- Neutral 700, #3F4047
- Neutral 800, #26272E
- Neutral 900, #16171D
- Neutral 950, #090A0F
Success
- Success 50, #E3FFEE
- Success 100, #B4FFD6
- Success 200, #94F0C0
- Success 300, #70D8A4
- Success 400, #48BC86
- Success 500, #009863
- 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, #FAAD51
- Warning 400, #E99622
- Warning 500, #BD7500
- 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, #FF6D6F
- Danger 500, #E7444E
- Danger 600, #CC2638
- Danger 700, #A20022
- Danger 800, #7C0017
- Danger 900, #58000E
- Danger 950, #360005
Info
- Info 50, #F2F7FF
- Info 100, #DFEDFF
- Info 200, #C0DCFF
- Info 300, #93C3FF
- Info 400, #63A5F9
- Info 500, #4589DC
- Info 600, #3175C7
- Info 700, #10549F
- Info 800, #003E7E
- Info 900, #002A59
- Info 950, #001737
- Primary buttons use Brand 800 with white text, at 11.4: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 #312E81
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.