#3C1987#3C1987
#3C1987 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.166 H 288.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1987 |
|---|---|
| RGB | rgb(60, 25, 135) |
| HSL | hsl(259, 69%, 31%) |
| HSV | hsv(259, 81%, 53%) |
| CMYK | cmyk(55.6%, 81.5%, 0%, 47.1%) |
| CIE-LAB | lab(21.60, 43.28, -54.68) |
| CIE-LCH | lch(21.60, 69.73, 308.36°) |
| OKLab | oklab(34.38% 0.0537 -0.1573) |
| OKLCH | oklch(34.38% 0.166 288.8) |
| XYZ | xyz(6.5830, 3.4049, 23.2273) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.24
Indigo
#4B0082
ΔE00 4.12
Royal
#0C1793
ΔE00 4.99
Midnight Blue
#191970
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 5.95
Darkblue
#00008B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1987 #648719
analogous
#192D87 #3C1987 #731987
triadic
#3C1987 #873C19 #19873C
tetradic
#3C1987 #87192D #648719 #198773
square
#3C1987 #87192D #648719 #198773
split-complementary
#3C1987 #877319 #2D8719
monochromatic
#0E0620 #250F53 #3C1987 #5323BB #713FDB
Accessibility & contrast
On white
12.49
#3C1987 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3C1987 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1987
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1987 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#1E3950
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3c1987; /* rgb */ color: rgb(60, 25, 135); /* oklch */ color: oklch(34.4% 0.166 288.8);
Tailwind
colors: {
custom: {
50: '#7b5bab',
500: '#3c1987',
950: '#000000',
},
}SCSS
$custom: #3c1987; $custom-light: #7b5bab; $custom-dark: #000000;
JSON
{
"hex": "#3c1987",
"rgb": {
"r": 60,
"g": 25,
"b": 135
},
"hsl": {
"h": 259.091,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.34381,
"c": 0.1662,
"h": 288.8
},
"luminance": 0.03405
}Semantic roles & 50–950 ramp
primary
#3C1987
secondary
#94BA41
accent
#EC3CB4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F