#3D1C79#3D1C79
#3D1C79 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.147 H 292.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C79 |
|---|---|
| RGB | rgb(61, 28, 121) |
| HSL | hsl(261, 62%, 29%) |
| HSV | hsv(261, 77%, 47%) |
| CMYK | cmyk(49.6%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(20.84, 37.95, -47.05) |
| CIE-LCH | lch(20.84, 60.45, 308.88°) |
| OKLab | oklab(33.46% 0.057 -0.135) |
| OKLCH | oklch(33.46% 0.147 292.9) |
| XYZ | xyz(5.7900, 3.2029, 18.3986) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.31
Indigo
#4B0082
ΔE00 4.59
Midnight Blue
#191970
ΔE00 5.42
Royal Purple (survey)
#4B006E
ΔE00 5.49
Royal
#0C1793
ΔE00 6.72
Dark Royal Blue
#02066F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C79 #58791C
analogous
#1C2A79 #3D1C79 #6C1C79
triadic
#3D1C79 #793D1C #1C793D
tetradic
#3D1C79 #791C2A #58791C #1C796C
square
#3D1C79 #791C2A #58791C #1C796C
split-complementary
#3D1C79 #796C1C #2A791C
monochromatic
#0D0619 #241047 #3D1C79 #5628AB #723DD2
Accessibility & contrast
On white
12.80
#3D1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3D1C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C79
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C79 | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#2A3549
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3d1c79; /* rgb */ color: rgb(61, 28, 121); /* oklch */ color: oklch(33.5% 0.147 292.9);
Tailwind
colors: {
custom: {
50: '#795ca1',
500: '#3d1c79',
950: '#000000',
},
}SCSS
$custom: #3d1c79; $custom-light: #795ca1; $custom-dark: #000000;
JSON
{
"hex": "#3d1c79",
"rgb": {
"r": 61,
"g": 28,
"b": 121
},
"hsl": {
"h": 261.29,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.33456,
"c": 0.14652,
"h": 292.9
},
"luminance": 0.03203
}Semantic roles & 50–950 ramp
primary
#3D1C79
secondary
#88AD44
accent
#E542AC
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F