#3C1C88#3C1C88
#3C1C88 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.164 H 288.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C88 |
|---|---|
| RGB | rgb(60, 28, 136) |
| HSL | hsl(258, 66%, 32%) |
| HSV | hsv(258, 79%, 53%) |
| CMYK | cmyk(55.9%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(22.19, 42.15, -54.33) |
| CIE-LCH | lch(22.19, 68.77, 307.81°) |
| OKLab | oklab(34.82% 0.0512 -0.1563) |
| OKLCH | oklch(34.82% 0.164 288.1) |
| XYZ | xyz(6.7214, 3.5684, 23.6224) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.83
Indigo
#4B0082
ΔE00 4.61
Royal
#0C1793
ΔE00 4.95
Indigo Blue
#3A18B1
ΔE00 5.81
Midnight Blue
#191970
ΔE00 5.90
Cobalt Blue
#030AA7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C88 #68881C
analogous
#1C3288 #3C1C88 #721C88
triadic
#3C1C88 #883C1C #1C883C
tetradic
#3C1C88 #881C32 #68881C #1C8872
square
#3C1C88 #881C32 #68881C #1C8872
split-complementary
#3C1C88 #88721C #32881C
monochromatic
#0F0722 #261255 #3C1C88 #5226BB #7146D9
Accessibility & contrast
On white
12.25
#3C1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3C1C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C88
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C88 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#1C3B51
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3c1c88; /* rgb */ color: rgb(60, 28, 136); /* oklch */ color: oklch(34.8% 0.164 288.1);
Tailwind
colors: {
custom: {
50: '#7b5dac',
500: '#3c1c88',
950: '#000000',
},
}SCSS
$custom: #3c1c88; $custom-light: #7b5dac; $custom-dark: #000000;
JSON
{
"hex": "#3c1c88",
"rgb": {
"r": 60,
"g": 28,
"b": 136
},
"hsl": {
"h": 257.778,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.34824,
"c": 0.16448,
"h": 288.1
},
"luminance": 0.03569
}Semantic roles & 50–950 ramp
primary
#3C1C88
secondary
#98BA45
accent
#E93FB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F