#3C116A#3C116A
#3C116A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.141 H 299.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3C116A |
|---|---|
| RGB | rgb(60, 17, 106) |
| HSL | hsl(269, 72%, 24%) |
| HSV | hsv(269, 84%, 42%) |
| CMYK | cmyk(43.4%, 84%, 0%, 58.4%) |
| CIE-LAB | lab(17.47, 38.80, -42.88) |
| CIE-LCH | lch(17.47, 57.83, 312.14°) |
| OKLab | oklab(30.63% 0.0696 -0.1227) |
| OKLCH | oklch(30.63% 0.141 299.6) |
| XYZ | xyz(4.6648, 2.4021, 13.8508) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.49
Indigo
#4B0082
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 4.76
Dark Indigo
#1F0954
ΔE00 5.63
Midnight Blue
#191970
ΔE00 6.43
Dark Royal Blue
#02066F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C116A #3F6A11
analogous
#11126A #3C116A #69116A
triadic
#3C116A #6A3C11 #116A3C
tetradic
#3C116A #6A1112 #3F6A11 #116A69
square
#3C116A #6A1112 #3F6A11 #116A69
split-complementary
#3C116A #6A6911 #126A11
monochromatic
#0F041A #1E0935 #3C116A #5A199F #7822D3
Accessibility & contrast
On white
14.19
#3C116A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#3C116A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C116A
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C116A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C116A | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#312A3E
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #3c116a; /* rgb */ color: rgb(60, 17, 106); /* oklch */ color: oklch(30.6% 0.141 299.6);
Tailwind
colors: {
custom: {
50: '#775595',
500: '#3c116a',
950: '#000000',
},
}SCSS
$custom: #3c116a; $custom-light: #775595; $custom-dark: #000000;
JSON
{
"hex": "#3c116a",
"rgb": {
"r": 60,
"g": 17,
"b": 106
},
"hsl": {
"h": 268.989,
"s": 72.358,
"l": 24.118
},
"oklch": {
"l": 0.30629,
"c": 0.14103,
"h": 299.6
},
"luminance": 0.02402
}Semantic roles & 50–950 ramp
primary
#3C116A
secondary
#6DA235
accent
#EF3997
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E