Black

#20052E

Purple

Color Codes

All color formats for development

HEX
#20052E
RGB
rgb(32, 5, 46)
HSL
hsl(280, 80%, 10%)
OKLCH
oklch(0.193 0.08 311.5)
CMYK
cmyk(30%, 89%, 0%, 82%)

Accessibility

WCAG contrast compliance

On White Background

18.71:1

AA AAA

On Black Background

1.12:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F1
100
#F2DF
200
#E7C3
300
#D495
400
#BE5E
500
#AB30
600
#8E16
700
#7112
800
#510D
900
#3408
950
#2005

Shades

Darker variations

1#1D0529
2#1A0425
3#170420
4#13031C
5#100317
6#0D0212
7#0A020E
8#060109
9#030105

Tints

Lighter variations

1#3D0A57
2#5A0E81
3#7813AA
4#9517D3
5#AB30E8
6#BC5AED
7#CD83F1
8#DDACF6
9#EED6FA

Tones

Muted variations

1#20072C
2#1F092A
3#1E0B28
4#1E0D26
5#1D0F24
6#1C1122
7#1C1320
8#1B151E
9#1A171C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F9F1
#F9F1FD
BackgroundsSubtle highlightsCard backgrounds
100
F2DF
#F2DFFB
Light backgroundsTable row hoverSkeleton loading
200
E7C3
#E7C3F8
Secondary backgroundsInput backgroundsDividers
300
D495
#D495F3
BordersInactive statesPlaceholder text
400
BE5E
#BE5EED
Disabled statesSecondary iconsMuted text
500
AB30
#AB30E8
Primary brand colorCTAsActive elementsLinks
600
8E16
#8E16CA
Hover statesFocus ringsPrimary buttons hover
700
7112
#7112A1
Active/pressed statesDark mode accentsSecondary text
800
510D
#510D73
Text on light backgroundsHeadingsStrong borders
900
3408
#340849
Primary textHigh emphasis contentDark headings
950
2005
#20052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F9F1FD;
  --black-100: #F2DFFB;
  --black-200: #E7C3F8;
  --black-300: #D495F3;
  --black-400: #BE5EED;
  --black-500: #AB30E8;
  --black-600: #8E16CA;
  --black-700: #7112A1;
  --black-800: #510D73;
  --black-900: #340849;
  --black-950: #20052E;
}
Generate More ShadesCreate PaletteConvert Color