Charcoal

#270949

Purple

Color Codes

All color formats for development

HEX
#270949
RGB
rgb(39, 9, 73)
HSL
hsl(268, 78%, 16%)
OKLCH
oklch(0.236 0.108 298.8)
CMYK
cmyk(47%, 88%, 0%, 71%)

Accessibility

WCAG contrast compliance

On White Background

17.19:1

AA AAA

On Black Background

1.22:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#ECDF
200
#DCC4
300
#C197
400
#A160
500
#8633
600
#6A19
700
#5514
800
#3C0E
900
#2709
950
#1806

Shades

Darker variations

1#230841
2#1F073A
3#1B0633
4#17052C
5#130424
6#0F041D
7#0C0316
8#08020F
9#040107

Tints

Lighter variations

1#3B0E6F
2#4F1295
3#6417BB
4#781CE1
5#8E40E7
6#A566EC
7#BB8DF1
8#D2B3F6
9#E8D9FA

Tones

Muted variations

1#270C45
2#270F42
3#27133F
4#28163C
5#281939
6#281C36
7#281F32
8#28222F
9#29262C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FD
BackgroundsSubtle highlightsCard backgrounds
100
ECDF
#ECDFFB
Light backgroundsTable row hoverSkeleton loading
200
DCC4
#DCC4F8
Secondary backgroundsInput backgroundsDividers
300
C197
#C197F2
BordersInactive statesPlaceholder text
400
A160
#A160EB
Disabled statesSecondary iconsMuted text
500
8633
#8633E6
Primary brand colorCTAsActive elementsLinks
600
6A19
#6A19C8
Hover statesFocus ringsPrimary buttons hover
700
5514
#55149F
Active/pressed statesDark mode accentsSecondary text
800
3C0E
#3C0E71
Text on light backgroundsHeadingsStrong borders
900
2709
#270949
Primary textHigh emphasis contentDark headings
950
1806
#18062D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --charcoal-50: #F7F1FD;
  --charcoal-100: #ECDFFB;
  --charcoal-200: #DCC4F8;
  --charcoal-300: #C197F2;
  --charcoal-400: #A160EB;
  --charcoal-500: #8633E6;
  --charcoal-600: #6A19C8;
  --charcoal-700: #55149F;
  --charcoal-800: #3C0E71;
  --charcoal-900: #270949;
  --charcoal-950: #18062D;
}
Generate More ShadesCreate PaletteConvert Color