#3D1C76#3D1C76
#3D1C76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.143 H 293.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C76 |
|---|---|
| RGB | rgb(61, 28, 118) |
| HSL | hsl(262, 62%, 29%) |
| HSV | hsv(262, 76%, 46%) |
| CMYK | cmyk(48.3%, 76.3%, 0%, 53.7%) |
| CIE-LAB | lab(20.56, 37.08, -45.59) |
| CIE-LCH | lch(20.56, 58.77, 309.12°) |
| OKLab | oklab(33.17% 0.0578 -0.1307) |
| OKLCH | oklch(33.17% 0.143 293.9) |
| XYZ | xyz(5.6088, 3.1304, 17.4447) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.60
Indigo
#4B0082
ΔE00 4.78
Royal Purple (survey)
#4B006E
ΔE00 5.32
Midnight Blue
#191970
ΔE00 5.46
Royal
#0C1793
ΔE00 7.15
Dark Indigo
#1F0954
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C76 #55761C
analogous
#1C2876 #3D1C76 #6A1C76
triadic
#3D1C76 #763D1C #1C763D
tetradic
#3D1C76 #761C28 #55761C #1C766A
square
#3D1C76 #761C28 #55761C #1C766A
split-complementary
#3D1C76 #766A1C #28761C
monochromatic
#0D0619 #231045 #3D1C76 #5728A7 #723CD1
Accessibility & contrast
On white
12.91
#3D1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3D1C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C76
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C76 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#2C3447
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3d1c76; /* rgb */ color: rgb(61, 28, 118); /* oklch */ color: oklch(33.2% 0.143 293.9);
Tailwind
colors: {
custom: {
50: '#795c9e',
500: '#3d1c76',
950: '#000000',
},
}SCSS
$custom: #3d1c76; $custom-light: #795c9e; $custom-dark: #000000;
JSON
{
"hex": "#3d1c76",
"rgb": {
"r": 61,
"g": 28,
"b": 118
},
"hsl": {
"h": 262,
"s": 61.644,
"l": 28.627
},
"oklch": {
"l": 0.33173,
"c": 0.14288,
"h": 293.9
},
"luminance": 0.03131
}Semantic roles & 50–950 ramp
primary
#3D1C76
secondary
#85AA44
accent
#E543A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E