#3D2C71#3D2C71
#3D2C71 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.3% C 0.114 H 290.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2C71 |
|---|---|
| RGB | rgb(61, 44, 113) |
| HSL | hsl(255, 44%, 31%) |
| HSV | hsv(255, 61%, 44%) |
| CMYK | cmyk(46%, 61.1%, 0%, 55.7%) |
| CIE-LAB | lab(23.62, 26.11, -37.41) |
| CIE-LCH | lch(23.62, 45.62, 304.92°) |
| OKLab | oklab(35.25% 0.0403 -0.1066) |
| OKLCH | oklch(35.25% 0.114 290.7) |
| XYZ | xyz(5.8050, 3.9855, 16.0830) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.97
Midnight Blue
#191970
ΔE00 7.05
Blueberry
#464196
ΔE00 8.04
Indigo (survey)
#380282
ΔE00 9.17
Indigo
#4B0082
ΔE00 9.20
Royal Purple (survey)
#4B006E
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2C71 #60712C
analogous
#2C3D71 #3D2C71 #5F2C71
triadic
#3D2C71 #713D2C #2C713D
tetradic
#3D2C71 #712C3D #60712C #2C715F
square
#3D2C71 #712C3D #60712C #2C715F
split-complementary
#3D2C71 #715F2C #3D712C
monochromatic
#0D0A19 #251B45 #3D2C71 #553D9D #7259BE
Accessibility & contrast
On white
11.68
#3D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3D2C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2C71
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2C71 | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#2E3B4A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d2c71; /* rgb */ color: rgb(61, 44, 113); /* oklch */ color: oklch(35.3% 0.114 290.7);
Tailwind
colors: {
custom: {
50: '#77669a',
500: '#3d2c71',
950: '#000000',
},
}SCSS
$custom: #3d2c71; $custom-light: #77669a; $custom-dark: #000000;
JSON
{
"hex": "#3d2c71",
"rgb": {
"r": 61,
"g": 44,
"b": 113
},
"hsl": {
"h": 254.783,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.35252,
"c": 0.11401,
"h": 290.7
},
"luminance": 0.03986
}Semantic roles & 50–950 ramp
primary
#3D2C71
secondary
#90A356
accent
#D454B4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E