#3D206F#3D206F
#3D206F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.129 H 295.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3D206F |
|---|---|
| RGB | rgb(61, 32, 111) |
| HSL | hsl(262, 55%, 28%) |
| HSV | hsv(262, 71%, 44%) |
| CMYK | cmyk(45%, 71.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.72, 32.85, -40.82) |
| CIE-LCH | lch(20.72, 52.39, 308.83°) |
| OKLab | oklab(33.1% 0.0551 -0.1167) |
| OKLCH | oklch(33.1% 0.129 295.3) |
| XYZ | xyz(5.3095, 3.1727, 15.3685) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.86
Royal Purple (survey)
#4B006E
ΔE00 5.97
Indigo
#4B0082
ΔE00 6.24
Indigo (survey)
#380282
ΔE00 6.29
Dark Indigo
#1F0954
ΔE00 7.09
Dark Royal Blue
#02066F
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D206F #526F20
analogous
#202A6F #3D206F #64206F
triadic
#3D206F #6F3D20 #206F3D
tetradic
#3D206F #6F202A #526F20 #206F64
square
#3D206F #6F202A #526F20 #206F64
split-complementary
#3D206F #6F6420 #2A6F20
monochromatic
#0D0718 #23123F #3D206F #572E9F #7341C8
Accessibility & contrast
On white
12.85
#3D206F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3D206F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D206F
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D206F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D206F | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#303344
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3d206f; /* rgb */ color: rgb(61, 32, 111); /* oklch */ color: oklch(33.1% 0.129 295.3);
Tailwind
colors: {
custom: {
50: '#775e99',
500: '#3d206f',
950: '#000000',
},
}SCSS
$custom: #3d206f; $custom-light: #775e99; $custom-dark: #000000;
JSON
{
"hex": "#3d206f",
"rgb": {
"r": 61,
"g": 32,
"b": 111
},
"hsl": {
"h": 262.025,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.33096,
"c": 0.12901,
"h": 295.3
},
"luminance": 0.03173
}Semantic roles & 50–950 ramp
primary
#3D206F
secondary
#81A348
accent
#DF49A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E