#3C1E96#3C1E96
#3C1E96 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.179 H 284.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1E96 |
|---|---|
| RGB | rgb(60, 30, 150) |
| HSL | hsl(255, 67%, 35%) |
| HSV | hsv(255, 80%, 59%) |
| CMYK | cmyk(60%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(23.97, 45.29, -60.10) |
| CIE-LCH | lch(23.97, 75.25, 307.00°) |
| OKLab | oklab(36.5% 0.0454 -0.1732) |
| OKLCH | oklch(36.5% 0.179 284.7) |
| XYZ | xyz(7.8311, 4.0907, 29.2252) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.75
Royal
#0C1793
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.20
Ultramarine
#2000B1
ΔE00 5.28
Royal Blue (survey)
#0504AA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1E96 #78961E
analogous
#1E3C96 #3C1E96 #781E96
triadic
#3C1E96 #963C1E #1E963C
tetradic
#3C1E96 #961E3C #78961E #1E9678
square
#3C1E96 #961E3C #78961E #1E9678
split-complementary
#3C1E96 #96781E #3C961E
monochromatic
#130A30 #281463 #3C1E96 #5028C9 #7552DC
Accessibility & contrast
On white
11.55
#3C1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3C1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1E96
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1E96 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#04415A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1e96; /* rgb */ color: rgb(60, 30, 150); /* oklch */ color: oklch(36.5% 0.179 284.7);
Tailwind
colors: {
custom: {
50: '#7d5eb6',
500: '#3c1e96',
950: '#000000',
},
}SCSS
$custom: #3c1e96; $custom-light: #7d5eb6; $custom-dark: #000000;
JSON
{
"hex": "#3c1e96",
"rgb": {
"r": 60,
"g": 30,
"b": 150
},
"hsl": {
"h": 255,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.36498,
"c": 0.17904,
"h": 284.7
},
"luminance": 0.04091
}Semantic roles & 50–950 ramp
primary
#3C1E96
secondary
#A4BF50
accent
#EA3EBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980