#3D2C72#3D2C72
#3D2C72 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.3% C 0.115 H 290.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2C72 |
|---|---|
| RGB | rgb(61, 44, 114) |
| HSL | hsl(255, 44%, 31%) |
| HSV | hsv(255, 61%, 45%) |
| CMYK | cmyk(46.5%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(23.70, 26.43, -37.93) |
| CIE-LCH | lch(23.70, 46.23, 304.87°) |
| OKLab | oklab(35.33% 0.0403 -0.1082) |
| OKLCH | oklch(35.33% 0.115 290.4) |
| XYZ | xyz(5.8616, 4.0082, 16.3811) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.86
Midnight Blue
#191970
ΔE00 6.96
Blueberry
#464196
ΔE00 7.91
Indigo (survey)
#380282
ΔE00 9.06
Indigo
#4B0082
ΔE00 9.10
Royal Purple (survey)
#4B006E
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2C72 #61722C
analogous
#2C3E72 #3D2C72 #602C72
triadic
#3D2C72 #723D2C #2C723D
tetradic
#3D2C72 #722C3E #61722C #2C7260
square
#3D2C72 #722C3E #61722C #2C7260
split-complementary
#3D2C72 #72602C #3E722C
monochromatic
#0E0A1A #251B46 #3D2C72 #553D9E #7259BF
Accessibility & contrast
On white
11.66
#3D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3D2C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2C72
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2C72 | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#023770
Tritanopia (blue-blind)
#2D3C4A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d2c72; /* rgb */ color: rgb(61, 44, 114); /* oklch */ color: oklch(35.3% 0.115 290.4);
Tailwind
colors: {
custom: {
50: '#77669b',
500: '#3d2c72',
950: '#000000',
},
}SCSS
$custom: #3d2c72; $custom-light: #77669b; $custom-dark: #000000;
JSON
{
"hex": "#3d2c72",
"rgb": {
"r": 61,
"g": 44,
"b": 114
},
"hsl": {
"h": 254.571,
"s": 44.304,
"l": 30.98
},
"oklch": {
"l": 0.35331,
"c": 0.11544,
"h": 290.4
},
"luminance": 0.04008
}Semantic roles & 50–950 ramp
primary
#3D2C72
secondary
#91A456
accent
#D454B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E