#3D208E#3D208E
#3D208E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.168 H 286.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3D208E |
|---|---|
| RGB | rgb(61, 32, 142) |
| HSL | hsl(256, 63%, 34%) |
| HSV | hsv(256, 77%, 56%) |
| CMYK | cmyk(57%, 77.5%, 0%, 44.3%) |
| CIE-LAB | lab(23.60, 42.07, -55.76) |
| CIE-LCH | lch(23.60, 69.85, 307.04°) |
| OKLab | oklab(36.02% 0.0479 -0.1605) |
| OKLCH | oklch(36.02% 0.168 286.6) |
| XYZ | xyz(7.3220, 3.9777, 25.9679) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.84
Royal
#0C1793
ΔE00 4.92
Indigo Blue
#3A18B1
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D208E #718E20
analogous
#203A8E #3D208E #74208E
triadic
#3D208E #8E3D20 #208E3D
tetradic
#3D208E #8E203A #718E20 #208E74
square
#3D208E #8E203A #718E20 #208E74
split-complementary
#3D208E #8E7420 #3A8E20
monochromatic
#12092A #28155C #3D208E #522BC0 #7451D8
Accessibility & contrast
On white
11.70
#3D208E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3D208E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D208E
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D208E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D208E | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#183F56
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d208e; /* rgb */ color: rgb(61, 32, 142); /* oklch */ color: oklch(36.0% 0.168 286.6);
Tailwind
colors: {
custom: {
50: '#7c5fb0',
500: '#3d208e',
950: '#000000',
},
}SCSS
$custom: #3d208e; $custom-light: #7c5fb0; $custom-dark: #000000;
JSON
{
"hex": "#3d208e",
"rgb": {
"r": 61,
"g": 32,
"b": 142
},
"hsl": {
"h": 255.818,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.36017,
"c": 0.1675,
"h": 286.6
},
"luminance": 0.03978
}Semantic roles & 50–950 ramp
primary
#3D208E
secondary
#9EBB4F
accent
#E642BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980