#3D1976#3D1976
#3D1976 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.146 H 294.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1976 |
|---|---|
| RGB | rgb(61, 25, 118) |
| HSL | hsl(263, 65%, 28%) |
| HSV | hsv(263, 79%, 46%) |
| CMYK | cmyk(48.3%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(20.02, 38.60, -46.47) |
| CIE-LCH | lch(20.02, 60.41, 309.71°) |
| OKLab | oklab(32.8% 0.0606 -0.1332) |
| OKLCH | oklch(32.8% 0.146 294.5) |
| XYZ | xyz(5.5412, 2.9952, 17.4222) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.04
Indigo
#4B0082
ΔE00 4.25
Royal Purple (survey)
#4B006E
ΔE00 4.83
Midnight Blue
#191970
ΔE00 5.54
Royal
#0C1793
ΔE00 7.07
Dark Indigo
#1F0954
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1976 #527619
analogous
#192376 #3D1976 #6B1976
triadic
#3D1976 #763D19 #19763D
tetradic
#3D1976 #761923 #527619 #19766B
square
#3D1976 #761923 #527619 #19766B
split-complementary
#3D1976 #766B19 #237619
monochromatic
#0D0519 #230E43 #3D1976 #5724A8 #7335D4
Accessibility & contrast
On white
13.13
#3D1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3D1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1976
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1976 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#2C3246
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3d1976; /* rgb */ color: rgb(61, 25, 118); /* oklch */ color: oklch(32.8% 0.146 294.5);
Tailwind
colors: {
custom: {
50: '#795a9e',
500: '#3d1976',
950: '#000000',
},
}SCSS
$custom: #3d1976; $custom-light: #795a9e; $custom-dark: #000000;
JSON
{
"hex": "#3d1976",
"rgb": {
"r": 61,
"g": 25,
"b": 118
},
"hsl": {
"h": 263.226,
"s": 65.035,
"l": 28.039
},
"oklch": {
"l": 0.32797,
"c": 0.14635,
"h": 294.5
},
"luminance": 0.02995
}Semantic roles & 50–950 ramp
primary
#3D1976
secondary
#81AB40
accent
#E840A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E