#3C1E88#3C1E88
#3C1E88 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.162 H 287.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1E88 |
|---|---|
| RGB | rgb(60, 30, 136) |
| HSL | hsl(257, 64%, 33%) |
| HSV | hsv(257, 78%, 53%) |
| CMYK | cmyk(55.9%, 77.9%, 0%, 46.7%) |
| CIE-LAB | lab(22.54, 41.16, -53.76) |
| CIE-LCH | lch(22.54, 67.71, 307.44°) |
| OKLab | oklab(35.07% 0.0496 -0.1547) |
| OKLCH | oklch(35.07% 0.162 287.8) |
| XYZ | xyz(6.7704, 3.6664, 23.6387) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.23
Indigo
#4B0082
ΔE00 4.95
Royal
#0C1793
ΔE00 5.03
Indigo Blue
#3A18B1
ΔE00 5.86
Midnight Blue
#191970
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1E88 #6A881E
analogous
#1E3588 #3C1E88 #711E88
triadic
#3C1E88 #883C1E #1E883C
tetradic
#3C1E88 #881E35 #6A881E #1E8871
square
#3C1E88 #881E35 #6A881E #1E8871
split-complementary
#3C1E88 #88711E #35881E
monochromatic
#100824 #261356 #3C1E88 #5229BA #7149D7
Accessibility & contrast
On white
12.11
#3C1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3C1E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1E88
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1E88 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#1C3C52
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1e88; /* rgb */ color: rgb(60, 30, 136); /* oklch */ color: oklch(35.1% 0.162 287.8);
Tailwind
colors: {
custom: {
50: '#7b5eac',
500: '#3c1e88',
950: '#000000',
},
}SCSS
$custom: #3c1e88; $custom-light: #7b5eac; $custom-dark: #000000;
JSON
{
"hex": "#3c1e88",
"rgb": {
"r": 60,
"g": 30,
"b": 136
},
"hsl": {
"h": 256.981,
"s": 63.855,
"l": 32.549
},
"oklch": {
"l": 0.35067,
"c": 0.16243,
"h": 287.8
},
"luminance": 0.03667
}Semantic roles & 50–950 ramp
primary
#3C1E88
secondary
#99B949
accent
#E741B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F