#3D1C73#3D1C73
#3D1C73 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.139 H 294.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C73 |
|---|---|
| RGB | rgb(61, 28, 115) |
| HSL | hsl(263, 61%, 28%) |
| HSV | hsv(263, 76%, 45%) |
| CMYK | cmyk(47%, 75.7%, 0%, 54.9%) |
| CIE-LAB | lab(20.28, 36.22, -44.11) |
| CIE-LCH | lch(20.28, 57.08, 309.38°) |
| OKLab | oklab(32.89% 0.0585 -0.1263) |
| OKLCH | oklch(32.89% 0.139 294.9) |
| XYZ | xyz(5.4334, 3.0603, 16.5207) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.94
Indigo
#4B0082
ΔE00 5.02
Royal Purple (survey)
#4B006E
ΔE00 5.19
Midnight Blue
#191970
ΔE00 5.56
Dark Indigo
#1F0954
ΔE00 6.98
Royal
#0C1793
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C73 #52731C
analogous
#1C2673 #3D1C73 #681C73
triadic
#3D1C73 #733D1C #1C733D
tetradic
#3D1C73 #731C26 #52731C #1C7368
square
#3D1C73 #731C26 #52731C #1C7368
split-complementary
#3D1C73 #73681C #26731C
monochromatic
#0D0619 #231042 #3D1C73 #5728A4 #733ACF
Accessibility & contrast
On white
13.03
#3D1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3D1C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C73
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C73 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#2E3245
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3d1c73; /* rgb */ color: rgb(61, 28, 115); /* oklch */ color: oklch(32.9% 0.139 294.9);
Tailwind
colors: {
custom: {
50: '#785b9c',
500: '#3d1c73',
950: '#000000',
},
}SCSS
$custom: #3d1c73; $custom-light: #785b9c; $custom-dark: #000000;
JSON
{
"hex": "#3d1c73",
"rgb": {
"r": 61,
"g": 28,
"b": 115
},
"hsl": {
"h": 262.759,
"s": 60.839,
"l": 28.039
},
"oklch": {
"l": 0.32893,
"c": 0.13923,
"h": 294.9
},
"luminance": 0.0306
}Semantic roles & 50–950 ramp
primary
#3D1C73
secondary
#81A743
accent
#E444A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E