Black

#21042F

Purple

Color Codes

All color formats for development

HEX
#21042F
RGB
rgb(33, 4, 47)
HSL
hsl(280, 84%, 10%)
OKLCH
oklch(0.194 0.084 312.2)
CMYK
cmyk(30%, 91%, 0%, 82%)

Accessibility

WCAG contrast compliance

On White Background

18.70: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
#F2DE
200
#E7C2
300
#D593
400
#BF5B
500
#AC2C
600
#9012
700
#720E
800
#520A
900
#3407
950
#2104

Shades

Darker variations

1#1D042A
2#1A0326
3#170321
4#14021C
5#100217
6#0D0213
7#0A010E
8#070109
9#030005

Tints

Lighter variations

1#3E0859
2#5B0B83
3#790FAE
4#9613D8
5#AC2CED
6#BD56F0
7#CD80F4
8#DEABF8
9#EED5FB

Tones

Muted variations

1#20062D
2#1F082B
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
#F9F1FE
BackgroundsSubtle highlightsCard backgrounds
100
F2DE
#F2DEFC
Light backgroundsTable row hoverSkeleton loading
200
E7C2
#E7C2FA
Secondary backgroundsInput backgroundsDividers
300
D593
#D593F6
BordersInactive statesPlaceholder text
400
BF5B
#BF5BF1
Disabled statesSecondary iconsMuted text
500
AC2C
#AC2CED
Primary brand colorCTAsActive elementsLinks
600
9012
#9012CE
Hover statesFocus ringsPrimary buttons hover
700
720E
#720EA4
Active/pressed statesDark mode accentsSecondary text
800
520A
#520A75
Text on light backgroundsHeadingsStrong borders
900
3407
#34074B
Primary textHigh emphasis contentDark headings
950
2104
#21042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F9F1FE;
  --black-100: #F2DEFC;
  --black-200: #E7C2FA;
  --black-300: #D593F6;
  --black-400: #BF5BF1;
  --black-500: #AC2CED;
  --black-600: #9012CE;
  --black-700: #720EA4;
  --black-800: #520A75;
  --black-900: #34074B;
  --black-950: #21042F;
}
Generate More ShadesCreate PaletteConvert Color