#3D2B7E#3D2B7E
#3D2B7E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.134 H 287.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2B7E |
|---|---|
| RGB | rgb(61, 43, 126) |
| HSL | hsl(253, 49%, 33%) |
| HSV | hsv(253, 66%, 49%) |
| CMYK | cmyk(51.6%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(24.40, 30.87, -44.41) |
| CIE-LCH | lch(24.40, 54.09, 304.80°) |
| OKLab | oklab(36.15% 0.0407 -0.1272) |
| OKLCH | oklch(36.15% 0.134 287.8) |
| XYZ | xyz(6.5531, 4.2259, 20.2050) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.25
Midnight Blue
#191970
ΔE00 6.34
Blueberry
#464196
ΔE00 6.90
Royal
#0C1793
ΔE00 7.57
Indigo (survey)
#380282
ΔE00 7.70
Indigo
#4B0082
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2B7E #6C7E2B
analogous
#2B427E #3D2B7E #662B7E
triadic
#3D2B7E #7E3D2B #2B7E3D
tetradic
#3D2B7E #7E2B42 #6C7E2B #2B7E66
square
#3D2B7E #7E2B42 #6C7E2B #2B7E66
split-complementary
#3D2B7E #7E662B #427E2B
monochromatic
#110C23 #271B50 #3D2B7E #533BAC #735CC7
Accessibility & contrast
On white
11.38
#3D2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3D2B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2B7E
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2B7E | 1.00 | 11.38 | 1.85 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#263F50
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d2b7e; /* rgb */ color: rgb(61, 43, 126); /* oklch */ color: oklch(36.1% 0.134 287.8);
Tailwind
colors: {
custom: {
50: '#7965a4',
500: '#3d2b7e',
950: '#000000',
},
}SCSS
$custom: #3d2b7e; $custom-light: #7965a4; $custom-dark: #000000;
JSON
{
"hex": "#3d2b7e",
"rgb": {
"r": 61,
"g": 43,
"b": 126
},
"hsl": {
"h": 253.012,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.36146,
"c": 0.13361,
"h": 287.8
},
"luminance": 0.04226
}Semantic roles & 50–950 ramp
primary
#3D2B7E
secondary
#9BAD58
accent
#D94FBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F