#3C0939#3C0939
#3C0939 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.100 H 330.6°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3C0939 |
|---|---|
| RGB | rgb(60, 9, 57) |
| HSL | hsl(304, 74%, 14%) |
| HSV | hsv(304, 85%, 24%) |
| CMYK | cmyk(0%, 85%, 5%, 76.5%) |
| CIE-LAB | lab(12.30, 30.58, -17.74) |
| CIE-LCH | lch(12.30, 35.36, 329.88°) |
| OKLab | oklab(25.71% 0.087 -0.0489) |
| OKLCH | oklch(25.71% 0.1 330.6) |
| XYZ | xyz(2.6997, 1.4517, 4.0081) |
| Luminance | 0.0145 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Eggplant
#380835
ΔE00 1.02
Aubergine
#3D0734
ΔE00 1.71
Eggplant Purple
#430541
ΔE00 2.34
Dark Purple
#35063E
ΔE00 3.31
Deep Violet
#490648
ΔE00 3.82
Deep Purple
#36013F
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C0939 #093C0C
analogous
#25093C #3C0939 #3C091F
triadic
#3C0939 #393C09 #09393C
tetradic
#3C0939 #3C2509 #093C0C #091F3C
square
#3C0939 #3C2509 #093C0C #091F3C
split-complementary
#3C0939 #1F3C09 #093C25
monochromatic
#1B0419 #1B0419 #3C0939 #71116C #A6199E
Accessibility & contrast
On white
16.28
#3C0939 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#3C0939 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C0939
16.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C0939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C0939 | 1.00 | 16.28 | 1.29 | 16.28 |
| #FFFFFF | 16.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#3F1020
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #3c0939; /* rgb */ color: rgb(60, 9, 57); /* oklch */ color: oklch(25.7% 0.100 330.6);
Tailwind
colors: {
custom: {
50: '#744f6f',
500: '#3c0939',
950: '#000000',
},
}SCSS
$custom: #3c0939; $custom-light: #744f6f; $custom-dark: #000000;
JSON
{
"hex": "#3c0939",
"rgb": {
"r": 60,
"g": 9,
"b": 57
},
"hsl": {
"h": 303.529,
"s": 73.913,
"l": 13.529
},
"oklch": {
"l": 0.25714,
"c": 0.09978,
"h": 330.6
},
"luminance": 0.01451
}Semantic roles & 50–950 ramp
primary
#3C0939
secondary
#277A2C
accent
#F14237
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A