#3D2286#3D2286
#3D2286 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.156 H 288.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2286 |
|---|---|
| RGB | rgb(61, 34, 134) |
| HSL | hsl(256, 60%, 33%) |
| HSV | hsv(256, 75%, 53%) |
| CMYK | cmyk(54.5%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(23.19, 38.61, -51.43) |
| CIE-LCH | lch(23.19, 64.31, 306.90°) |
| OKLab | oklab(35.5% 0.0484 -0.1478) |
| OKLCH | oklch(35.5% 0.156 288.1) |
| XYZ | xyz(6.7983, 3.8571, 22.9359) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.09
Royal
#0C1793
ΔE00 5.58
Indigo
#4B0082
ΔE00 5.59
Midnight Blue
#191970
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2286 #6B8622
analogous
#223986 #3D2286 #6F2286
triadic
#3D2286 #863D22 #22863D
tetradic
#3D2286 #862239 #6B8622 #22866F
square
#3D2286 #862239 #6B8622 #22866F
split-complementary
#3D2286 #866F22 #398622
monochromatic
#110924 #271655 #3D2286 #532EB7 #7350D3
Accessibility & contrast
On white
11.86
#3D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3D2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2286
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2286 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#203D52
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3d2286; /* rgb */ color: rgb(61, 34, 134); /* oklch */ color: oklch(35.5% 0.156 288.1);
Tailwind
colors: {
custom: {
50: '#7b60aa',
500: '#3d2286',
950: '#000000',
},
}SCSS
$custom: #3d2286; $custom-light: #7b60aa; $custom-dark: #000000;
JSON
{
"hex": "#3d2286",
"rgb": {
"r": 61,
"g": 34,
"b": 134
},
"hsl": {
"h": 256.2,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.35496,
"c": 0.15553,
"h": 288.1
},
"luminance": 0.03857
}Semantic roles & 50–950 ramp
primary
#3D2286
secondary
#9AB64E
accent
#E345B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F