#3D1E96#3D1E96
#3D1E96 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.179 H 285.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1E96 |
|---|---|
| RGB | rgb(61, 30, 150) |
| HSL | hsl(256, 67%, 35%) |
| HSV | hsv(256, 80%, 59%) |
| CMYK | cmyk(59.3%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(24.07, 45.41, -59.93) |
| CIE-LCH | lch(24.07, 75.19, 307.15°) |
| OKLab | oklab(36.59% 0.047 -0.1727) |
| OKLCH | oklch(36.59% 0.179 285.2) |
| XYZ | xyz(7.8921, 4.1222, 29.2280) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Royal
#0C1793
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.30
Ultramarine
#2000B1
ΔE00 5.34
Royal Blue (survey)
#0504AA
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1E96 #77961E
analogous
#1E3B96 #3D1E96 #791E96
triadic
#3D1E96 #963D1E #1E963D
tetradic
#3D1E96 #961E3B #77961E #1E9679
square
#3D1E96 #961E3B #77961E #1E9679
split-complementary
#3D1E96 #96791E #3B961E
monochromatic
#140A30 #281463 #3D1E96 #5228C9 #7652DC
Accessibility & contrast
On white
11.51
#3D1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3D1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1E96
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1E96 | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#0A415A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d1e96; /* rgb */ color: rgb(61, 30, 150); /* oklch */ color: oklch(36.6% 0.179 285.2);
Tailwind
colors: {
custom: {
50: '#7e5fb6',
500: '#3d1e96',
950: '#000000',
},
}SCSS
$custom: #3d1e96; $custom-light: #7e5fb6; $custom-dark: #000000;
JSON
{
"hex": "#3d1e96",
"rgb": {
"r": 61,
"g": 30,
"b": 150
},
"hsl": {
"h": 255.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.36594,
"c": 0.17894,
"h": 285.2
},
"luminance": 0.04123
}Semantic roles & 50–950 ramp
primary
#3D1E96
secondary
#A3BF50
accent
#EA3EBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980