#3D1779#3D1779
#3D1779 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.152 H 293.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1779 |
|---|---|
| RGB | rgb(61, 23, 121) |
| HSL | hsl(263, 68%, 28%) |
| HSV | hsv(263, 81%, 47%) |
| CMYK | cmyk(49.6%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(19.98, 40.39, -48.46) |
| CIE-LCH | lch(19.98, 63.08, 309.81°) |
| OKLab | oklab(32.86% 0.0614 -0.139) |
| OKLCH | oklch(32.86% 0.152 293.8) |
| XYZ | xyz(5.6811, 2.9852, 18.3623) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.39
Indigo
#4B0082
ΔE00 3.75
Royal Purple (survey)
#4B006E
ΔE00 4.78
Midnight Blue
#191970
ΔE00 5.60
Royal
#0C1793
ΔE00 6.64
Deep Blue
#040273
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1779 #537917
analogous
#172279 #3D1779 #6E1779
triadic
#3D1779 #793D17 #17793D
tetradic
#3D1779 #791722 #537917 #17796E
square
#3D1779 #791722 #537917 #17796E
split-complementary
#3D1779 #796E17 #227917
monochromatic
#0D051A #230D46 #3D1779 #5721AC #7332D8
Accessibility & contrast
On white
13.15
#3D1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3D1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1779
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1779 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2B3348
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3d1779; /* rgb */ color: rgb(61, 23, 121); /* oklch */ color: oklch(32.9% 0.152 293.8);
Tailwind
colors: {
custom: {
50: '#7a59a1',
500: '#3d1779',
950: '#000000',
},
}SCSS
$custom: #3d1779; $custom-light: #7a59a1; $custom-dark: #000000;
JSON
{
"hex": "#3d1779",
"rgb": {
"r": 61,
"g": 23,
"b": 121
},
"hsl": {
"h": 263.265,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.32857,
"c": 0.15198,
"h": 293.8
},
"luminance": 0.02985
}Semantic roles & 50–950 ramp
primary
#3D1779
secondary
#83AE3E
accent
#EB3DA7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F