#3C2086#3C2086
#3C2086 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.158 H 287.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2086 |
|---|---|
| RGB | rgb(60, 32, 134) |
| HSL | hsl(256, 61%, 33%) |
| HSV | hsv(256, 76%, 53%) |
| CMYK | cmyk(55.2%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(22.70, 39.53, -52.23) |
| CIE-LCH | lch(22.70, 65.50, 307.12°) |
| OKLab | oklab(35.13% 0.0485 -0.1502) |
| OKLCH | oklch(35.13% 0.158 287.9) |
| XYZ | xyz(6.6818, 3.7146, 22.9145) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.64
Indigo
#4B0082
ΔE00 5.28
Royal
#0C1793
ΔE00 5.30
Midnight Blue
#191970
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 6.26
Cobalt Blue
#030AA7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2086 #6A8620
analogous
#203786 #3C2086 #6F2086
triadic
#3C2086 #863C20 #20863C
tetradic
#3C2086 #862037 #6A8620 #20866F
square
#3C2086 #862037 #6A8620 #20866F
split-complementary
#3C2086 #866F20 #378620
monochromatic
#100823 #261455 #3C2086 #522CB7 #714CD4
Accessibility & contrast
On white
12.05
#3C2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3C2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2086
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2086 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#1E3C51
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c2086; /* rgb */ color: rgb(60, 32, 134); /* oklch */ color: oklch(35.1% 0.158 287.9);
Tailwind
colors: {
custom: {
50: '#7a5faa',
500: '#3c2086',
950: '#000000',
},
}SCSS
$custom: #3c2086; $custom-light: #7a5faa; $custom-dark: #000000;
JSON
{
"hex": "#3c2086",
"rgb": {
"r": 60,
"g": 32,
"b": 134
},
"hsl": {
"h": 256.471,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.35125,
"c": 0.15785,
"h": 287.9
},
"luminance": 0.03715
}Semantic roles & 50–950 ramp
primary
#3C2086
secondary
#99B74B
accent
#E543B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F