Indigo

#540BA8

Purple

Color Codes

All color formats for development

HEX
#540BA8
RGB
rgb(84, 11, 168)
HSL
hsl(268, 88%, 35%)
OKLCH
oklch(0.395 0.21 294.4)
CMYK
cmyk(50%, 93%, 0%, 34%)

Accessibility

WCAG contrast compliance

On White Background

10.55: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
#F7F1
100
#ECDD
200
#DCC1
300
#C191
400
#A157
500
#8627
600
#6A0D
700
#540B
800
#3C08
900
#2605
950
#1803

Shades

Darker variations

1#4C0A97
2#430986
3#3B0775
4#320665
5#2A0554
6#220443
7#190332
8#110222
9#080111

Tints

Lighter variations

1#640DC7
2#730FE6
3#8425F1
4#9644F3
5#A763F5
6#B982F7
7#CAA2F9
8#DCC1FB
9#EDE0FD

Tones

Muted variations

1#5513A0
2#551A98
3#562290
4#562A88
5#573281
6#573A79
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
ECDD
#ECDDFD
Light backgroundsTable row hoverSkeleton loading
200
DCC1
#DCC1FB
Secondary backgroundsInput backgroundsDividers
300
C191
#C191F8
BordersInactive statesPlaceholder text
400
A157
#A157F4
Disabled statesSecondary iconsMuted text
500
8627
#8627F1
Primary brand colorCTAsActive elementsLinks
600
6A0D
#6A0DD3
Hover statesFocus ringsPrimary buttons hover
700
540B
#540BA8
Active/pressed statesDark mode accentsSecondary text
800
3C08
#3C0878
Text on light backgroundsHeadingsStrong borders
900
2605
#26054D
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: #ECDDFD;
  --indigo-200: #DCC1FB;
  --indigo-300: #C191F8;
  --indigo-400: #A157F4;
  --indigo-500: #8627F1;
  --indigo-600: #6A0DD3;
  --indigo-700: #540BA8;
  --indigo-800: #3C0878;
  --indigo-900: #26054D;
  --indigo-950: #180330;
}
Generate More ShadesCreate PaletteConvert Color