Indigo

#5102B1

Purple

Color Codes

All color formats for development

HEX
#5102B1
RGB
rgb(81, 2, 177)
HSL
hsl(267, 98%, 35%)
OKLCH
oklch(0.397 0.222 291.2)
CMYK
cmyk(54%, 99%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

10.53:1

AA AAA

On Black Background

1.99:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F0
100
#EBDC
200
#DBBD
300
#BF8B
400
#9D4E
500
#811C
600
#6502
700
#5102
800
#3A01
900
#2501
950
#1701

Shades

Darker variations

1#48029F
2#40018D
3#38017C
4#30016A
5#280158
6#200147
7#180135
8#100023
9#080012

Tints

Lighter variations

1#5F02D2
2#6E02F2
3#8019FD
4#923AFD
5#A45BFD
6#B67CFE
7#C89DFE
8#DBBDFE
9#EDDEFF

Tones

Muted variations

1#510BA8
2#52139F
3#531C96
4#54258E
5#552E85
6#56367C
7#573F73
8#58486B
9#585162

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F0
#F7F0FF
BackgroundsSubtle highlightsCard backgrounds
100
EBDC
#EBDCFF
Light backgroundsTable row hoverSkeleton loading
200
DBBD
#DBBDFE
Secondary backgroundsInput backgroundsDividers
300
BF8B
#BF8BFE
BordersInactive statesPlaceholder text
400
9D4E
#9D4EFD
Disabled statesSecondary iconsMuted text
500
811C
#811CFD
Primary brand colorCTAsActive elementsLinks
600
6502
#6502DE
Hover statesFocus ringsPrimary buttons hover
700
5102
#5102B1
Active/pressed statesDark mode accentsSecondary text
800
3A01
#3A017E
Text on light backgroundsHeadingsStrong borders
900
2501
#250151
Primary textHigh emphasis contentDark headings
950
1701
#170132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --indigo-50: #F7F0FF;
  --indigo-100: #EBDCFF;
  --indigo-200: #DBBDFE;
  --indigo-300: #BF8BFE;
  --indigo-400: #9D4EFD;
  --indigo-500: #811CFD;
  --indigo-600: #6502DE;
  --indigo-700: #5102B1;
  --indigo-800: #3A017E;
  --indigo-900: #250151;
  --indigo-950: #170132;
}
Generate More ShadesCreate PaletteConvert Color