#3D2392#3D2392
#3D2392 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.169 H 285.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2392 |
|---|---|
| RGB | rgb(61, 35, 146) |
| HSL | hsl(254, 61%, 35%) |
| HSV | hsv(254, 76%, 57%) |
| CMYK | cmyk(58.2%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(24.54, 41.71, -56.68) |
| CIE-LCH | lch(24.54, 70.38, 306.35°) |
| OKLab | oklab(36.8% 0.0446 -0.1632) |
| OKLCH | oklch(36.8% 0.169 285.3) |
| XYZ | xyz(7.7122, 4.2690, 27.6062) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 5.02
Indigo (survey)
#380282
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 6.17
Indigo
#4B0082
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2392 #789223
analogous
#234092 #3D2392 #742392
triadic
#3D2392 #923D23 #23923D
tetradic
#3D2392 #922340 #789223 #239274
square
#3D2392 #922340 #789223 #239274
split-complementary
#3D2392 #927423 #409223
monochromatic
#140B2F #281761 #3D2392 #522FC3 #7658D7
Accessibility & contrast
On white
11.33
#3D2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3D2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2392
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2392 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#124259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d2392; /* rgb */ color: rgb(61, 35, 146); /* oklch */ color: oklch(36.8% 0.169 285.3);
Tailwind
colors: {
custom: {
50: '#7d61b3',
500: '#3d2392',
950: '#000000',
},
}SCSS
$custom: #3d2392; $custom-light: #7d61b3; $custom-dark: #000000;
JSON
{
"hex": "#3d2392",
"rgb": {
"r": 61,
"g": 35,
"b": 146
},
"hsl": {
"h": 254.054,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.36801,
"c": 0.1692,
"h": 285.3
},
"luminance": 0.04269
}Semantic roles & 50–950 ramp
primary
#3D2392
secondary
#A3BB55
accent
#E443BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980