Violet
#5B528D
#5B528D is a violet with medium intensity, at step 700 of its 50–950 scale. White text on it has a contrast of 6.9:1. It is readable as text on white (6.9:1).
#5B528D shades and tints
Eleven steps from 50 to 950 with #5B528D kept exactly at step 700. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F6F6FF
- 100 EAE8FF
- 200 D7D3FF
- 300 BDB7F3
- 400 A19AD9
- 500 867EBD
- 600 6C64A0
- 700 5B528D
- 800 3F3768
- 900 2B234D
- 950 181232
Tailwind CSS v4 theme
@theme { --color-violet-50: #f6f6ff; --color-violet-100: #eae8ff; --color-violet-200: #d7d3ff; --color-violet-300: #bdb7f3; --color-violet-400: #a19ad9; --color-violet-500: #867ebd; --color-violet-600: #6c64a0; --color-violet-700: #5b528d; --color-violet-800: #3f3768; --color-violet-900: #2b234d; --color-violet-950: #181232;}Is #5B528D readable?
Contrast for text on #5B528D and for #5B528D 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
AA · 6.9APCA Lc 89 · Body text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
Fail · 2.7APCA Lc 19 · Dividers and decoration only
- AaThe quick brown foxCheck in contrast tool
As text on white
AA · 6.9APCA Lc 84 · Body text
- AaThe quick brown foxClosest readable: #7D74B3 · 4.5:1 Check in contrast tool
As text on a dark background
Fail · 2.7APCA Lc 18 · Dividers and decoration only
Color palettes with #5B528D
Six palettes built around #5B528D, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#5B528D · #A36CA9 · #84B8FF · #FFCEE3 · #30303A
- Complementary#5B528D · #99BF72 · #D5B300 · #E2DFFF · #252432
- Split complementary#5B528D · #CDAD6B · #80BC5E · #DCD2FF · #23222A
- Triadic#5B528D · #C97444 · #00B97E · #DFDAFF · #2A2A38
- Tetradic#5B528D · #BE6568 · #D3B100 · #83ECF2 · #2A2A35
- Monochromatic#5B528D · #917DC7 · #A6A1FF · #E4E2FF · #23222C
#5B528D as a brand color
What a UI color system built from #5B528D looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F6F6FF
- Brand 100, #EAE8FF
- Brand 200, #D7D3FF
- Brand 300, #BDB7F3
- Brand 400, #A19AD9
- Brand 500, #867EBD
- Brand 600, #6C64A0
- Brand 700, #5B528D
- Brand 800, #3F3768
- Brand 900, #2B234D
- Brand 950, #181232
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E5E5E8
- Neutral 300, #D4D3D9
- Neutral 400, #A0A0A8
- Neutral 500, #73727B
- Neutral 600, #54535B
- Neutral 700, #403F47
- Neutral 800, #28272E
- Neutral 900, #18171D
- Neutral 950, #0A090F
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, #C24146
- 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, #4278BB
- Info 700, #235693
- Info 800, #103F76
- Info 900, #012A59
- Info 950, #001737
- Primary buttons use Brand 700 with white text, at 6.9: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 #5B528D
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.