Indigo

#540CA6

Purple

Color Codes

All color formats for development

HEX
#540CA6
RGB
rgb(84, 12, 166)
HSL
hsl(268, 87%, 35%)
OKLCH
oklch(0.393 0.208 294.8)
CMYK
cmyk(49%, 93%, 0%, 35%)

Accessibility

WCAG contrast compliance

On White Background

10.61:1

AA AAA

On Black Background

1.98:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#ECDE
200
#DCC1
300
#C191
400
#A158
500
#8628
600
#6A0F
700
#540C
800
#3C08
900
#2605
950
#1803

Shades

Darker variations

1#4C0A96
2#430986
3#3B0875
4#320764
5#2A0653
6#220543
7#190332
8#110221
9#080111

Tints

Lighter variations

1#640EC6
2#7310E5
3#8426F0
4#9645F2
5#A764F4
6#B983F6
7#CAA2F9
8#DCC1FB
9#EDE0FD

Tones

Muted variations

1#55139F
2#551B97
3#562390
4#562B88
5#573280
6#573A78
7#584271
8#584A69
9#595161

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
ECDE
#ECDEFD
Light backgroundsTable row hoverSkeleton loading
200
DCC1
#DCC1FB
Secondary backgroundsInput backgroundsDividers
300
C191
#C191F7
BordersInactive statesPlaceholder text
400
A158
#A158F3
Disabled statesSecondary iconsMuted text
500
8628
#8628F0
Primary brand colorCTAsActive elementsLinks
600
6A0F
#6A0FD2
Hover statesFocus ringsPrimary buttons hover
700
540C
#540CA7
Active/pressed statesDark mode accentsSecondary text
800
3C08
#3C0877
Text on light backgroundsHeadingsStrong borders
900
2605
#26054C
Primary textHigh emphasis contentDark headings
950
1803
#180330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --indigo-50: #F7F1FE;
  --indigo-100: #ECDEFD;
  --indigo-200: #DCC1FB;
  --indigo-300: #C191F7;
  --indigo-400: #A158F3;
  --indigo-500: #8628F0;
  --indigo-600: #6A0FD2;
  --indigo-700: #540CA7;
  --indigo-800: #3C0877;
  --indigo-900: #26054C;
  --indigo-950: #180330;
}
Generate More ShadesCreate PaletteConvert Color