#3C1E95#3C1E95
#3C1E95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.178 H 284.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1E95 |
|---|---|
| RGB | rgb(60, 30, 149) |
| HSL | hsl(255, 66%, 35%) |
| HSV | hsv(255, 80%, 58%) |
| CMYK | cmyk(59.7%, 79.9%, 0%, 41.6%) |
| CIE-LAB | lab(23.86, 45.00, -59.66) |
| CIE-LCH | lch(23.86, 74.72, 307.03°) |
| OKLab | oklab(36.39% 0.0457 -0.1719) |
| OKLCH | oklch(36.39% 0.178 284.9) |
| XYZ | xyz(7.7509, 4.0586, 28.8029) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Royal
#0C1793
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 5.26
Ultramarine
#2000B1
ΔE00 5.38
Royal Blue (survey)
#0504AA
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1E95 #77951E
analogous
#1E3C95 #3C1E95 #771E95
triadic
#3C1E95 #953C1E #1E953C
tetradic
#3C1E95 #951E3C #77951E #1E9577
square
#3C1E95 #951E3C #77951E #1E9577
split-complementary
#3C1E95 #95771E #3C951E
monochromatic
#13092F #271462 #3C1E95 #5128C8 #7451DC
Accessibility & contrast
On white
11.59
#3C1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3C1E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1E95
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1E95 | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#074159
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1e95; /* rgb */ color: rgb(60, 30, 149); /* oklch */ color: oklch(36.4% 0.178 284.9);
Tailwind
colors: {
custom: {
50: '#7d5eb5',
500: '#3c1e95',
950: '#000000',
},
}SCSS
$custom: #3c1e95; $custom-light: #7d5eb5; $custom-dark: #000000;
JSON
{
"hex": "#3c1e95",
"rgb": {
"r": 60,
"g": 30,
"b": 149
},
"hsl": {
"h": 255.126,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.36394,
"c": 0.17787,
"h": 284.9
},
"luminance": 0.04059
}Semantic roles & 50–950 ramp
primary
#3C1E95
secondary
#A3BF50
accent
#E93EBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980