#3D1679#3D1679
#3D1679 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.153 H 294.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1679 |
|---|---|
| RGB | rgb(61, 22, 121) |
| HSL | hsl(264, 69%, 28%) |
| HSV | hsv(264, 82%, 47%) |
| CMYK | cmyk(49.6%, 81.8%, 0%, 52.5%) |
| CIE-LAB | lab(19.83, 40.84, -48.71) |
| CIE-LCH | lch(19.83, 63.57, 309.98°) |
| OKLab | oklab(32.75% 0.0622 -0.1398) |
| OKLCH | oklch(32.75% 0.153 294) |
| XYZ | xyz(5.6616, 2.9462, 18.3558) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.23
Indigo
#4B0082
ΔE00 3.61
Royal Purple (survey)
#4B006E
ΔE00 4.66
Midnight Blue
#191970
ΔE00 5.65
Royal
#0C1793
ΔE00 6.64
Deep Blue
#040273
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1679 #527916
analogous
#162179 #3D1679 #6E1679
triadic
#3D1679 #793D16 #16793D
tetradic
#3D1679 #791621 #527916 #16796E
square
#3D1679 #791621 #527916 #16796E
split-complementary
#3D1679 #796E16 #217916
monochromatic
#0D051A #230D45 #3D1679 #571FAD #7330D9
Accessibility & contrast
On white
13.21
#3D1679 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#3D1679 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1679
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1679 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1679 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#2B3247
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3d1679; /* rgb */ color: rgb(61, 22, 121); /* oklch */ color: oklch(32.7% 0.153 294.0);
Tailwind
colors: {
custom: {
50: '#7a59a1',
500: '#3d1679',
950: '#000000',
},
}SCSS
$custom: #3d1679; $custom-light: #7a59a1; $custom-dark: #000000;
JSON
{
"hex": "#3d1679",
"rgb": {
"r": 61,
"g": 22,
"b": 121
},
"hsl": {
"h": 263.636,
"s": 69.231,
"l": 28.039
},
"oklch": {
"l": 0.32748,
"c": 0.15299,
"h": 294
},
"luminance": 0.02946
}Semantic roles & 50–950 ramp
primary
#3D1679
secondary
#81AE3D
accent
#EC3CA7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F