#3C1683#3C1683
#3C1683 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.164 H 290.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1683 |
|---|---|
| RGB | rgb(60, 22, 131) |
| HSL | hsl(261, 71%, 30%) |
| HSV | hsv(261, 83%, 51%) |
| CMYK | cmyk(54.2%, 83.2%, 0%, 48.6%) |
| CIE-LAB | lab(20.72, 43.48, -53.60) |
| CIE-LCH | lch(20.72, 69.02, 309.05°) |
| OKLab | oklab(33.65% 0.0571 -0.1541) |
| OKLCH | oklch(33.65% 0.164 290.3) |
| XYZ | xyz(6.2459, 3.1729, 21.7517) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.66
Indigo
#4B0082
ΔE00 3.59
Royal
#0C1793
ΔE00 5.35
Royal Purple (survey)
#4B006E
ΔE00 5.78
Midnight Blue
#191970
ΔE00 5.79
Darkblue
#00008B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1683 #5D8316
analogous
#162783 #3C1683 #721683
triadic
#3C1683 #833C16 #16833C
tetradic
#3C1683 #831627 #5D8316 #168372
square
#3C1683 #831627 #5D8316 #168372
split-complementary
#3C1683 #837216 #278316
monochromatic
#0C041A #240D4F #3C1683 #541FB7 #7036DD
Accessibility & contrast
On white
12.85
#3C1683 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3C1683 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1683
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1683 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1683 | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#21364D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c1683; /* rgb */ color: rgb(60, 22, 131); /* oklch */ color: oklch(33.7% 0.164 290.3);
Tailwind
colors: {
custom: {
50: '#7b59a8',
500: '#3c1683',
950: '#000000',
},
}SCSS
$custom: #3c1683; $custom-light: #7b59a8; $custom-dark: #000000;
JSON
{
"hex": "#3c1683",
"rgb": {
"r": 60,
"g": 22,
"b": 131
},
"hsl": {
"h": 260.917,
"s": 71.242,
"l": 30
},
"oklch": {
"l": 0.3365,
"c": 0.16435,
"h": 290.3
},
"luminance": 0.03173
}Semantic roles & 50–950 ramp
primary
#3C1683
secondary
#8DB73D
accent
#EE3AAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F