Charcoal

#28074A

Purple

Color Codes

All color formats for development

HEX
#28074A
RGB
rgb(40, 7, 74)
HSL
hsl(270, 83%, 16%)
OKLCH
oklch(0.237 0.112 299.7)
CMYK
cmyk(46%, 91%, 0%, 71%)

Accessibility

WCAG contrast compliance

On White Background

17.22: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
#EDDE
200
#DEC2
300
#C494
400
#A65C
500
#8C2D
600
#7013
700
#590F
800
#400B
900
#2907
950
#1A04

Shades

Darker variations

1#250643
2#21063C
3#1D0534
4#18042D
5#140325
6#10031E
7#0C0216
8#08010F
9#040107

Tints

Lighter variations

1#3E0B72
2#540E99
3#6912C0
4#7E16E7
5#943BED
6#A962F0
7#BF89F4
8#D4B1F8
9#EAD8FB

Tones

Muted variations

1#290A47
2#290E44
3#291141
4#29143D
5#29183A
6#291B36
7#291F33
8#292230
9#29252C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EDDE
#EDDEFC
Light backgroundsTable row hoverSkeleton loading
200
DEC2
#DEC2F9
Secondary backgroundsInput backgroundsDividers
300
C494
#C494F5
BordersInactive statesPlaceholder text
400
A65C
#A65CF0
Disabled statesSecondary iconsMuted text
500
8C2D
#8C2DEB
Primary brand colorCTAsActive elementsLinks
600
7013
#7013CD
Hover statesFocus ringsPrimary buttons hover
700
590F
#590FA3
Active/pressed statesDark mode accentsSecondary text
800
400B
#400B75
Text on light backgroundsHeadingsStrong borders
900
2907
#29074B
Primary textHigh emphasis contentDark headings
950
1A04
#1A042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --charcoal-50: #F7F1FE;
  --charcoal-100: #EDDEFC;
  --charcoal-200: #DEC2F9;
  --charcoal-300: #C494F5;
  --charcoal-400: #A65CF0;
  --charcoal-500: #8C2DEB;
  --charcoal-600: #7013CD;
  --charcoal-700: #590FA3;
  --charcoal-800: #400B75;
  --charcoal-900: #29074B;
  --charcoal-950: #1A042F;
}
Generate More ShadesCreate PaletteConvert Color