#3D2C73#3D2C73
#3D2C73 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.117 H 290.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2C73 |
|---|---|
| RGB | rgb(61, 44, 115) |
| HSL | hsl(254, 45%, 31%) |
| HSV | hsv(254, 62%, 45%) |
| CMYK | cmyk(47%, 61.7%, 0%, 54.9%) |
| CIE-LAB | lab(23.77, 26.74, -38.44) |
| CIE-LCH | lch(23.77, 46.83, 304.83°) |
| OKLab | oklab(35.41% 0.0403 -0.1097) |
| OKLCH | oklch(35.41% 0.117 290.2) |
| XYZ | xyz(5.9188, 4.0311, 16.6825) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.75
Midnight Blue
#191970
ΔE00 6.89
Blueberry
#464196
ΔE00 7.78
Indigo (survey)
#380282
ΔE00 8.94
Indigo
#4B0082
ΔE00 9.00
Royal Purple (survey)
#4B006E
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2C73 #62732C
analogous
#2C3E73 #3D2C73 #602C73
triadic
#3D2C73 #733D2C #2C733D
tetradic
#3D2C73 #732C3E #62732C #2C7360
square
#3D2C73 #732C3E #62732C #2C7360
split-complementary
#3D2C73 #73602C #3E732C
monochromatic
#0E0A1A #261B47 #3D2C73 #543D9F #725AC0
Accessibility & contrast
On white
11.63
#3D2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3D2C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2C73
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2C73 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#2D3C4B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d2c73; /* rgb */ color: rgb(61, 44, 115); /* oklch */ color: oklch(35.4% 0.117 290.2);
Tailwind
colors: {
custom: {
50: '#77669c',
500: '#3d2c73',
950: '#000000',
},
}SCSS
$custom: #3d2c73; $custom-light: #77669c; $custom-dark: #000000;
JSON
{
"hex": "#3d2c73",
"rgb": {
"r": 61,
"g": 44,
"b": 115
},
"hsl": {
"h": 254.366,
"s": 44.654,
"l": 31.176
},
"oklch": {
"l": 0.35411,
"c": 0.11686,
"h": 290.2
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#3D2C73
secondary
#92A556
accent
#D453B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E