#3D2393#3D2393
#3D2393 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.170 H 285.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2393 |
|---|---|
| RGB | rgb(61, 35, 147) |
| HSL | hsl(254, 62%, 36%) |
| HSV | hsv(254, 76%, 58%) |
| CMYK | cmyk(58.5%, 76.2%, 0%, 42.4%) |
| CIE-LAB | lab(24.64, 42.02, -57.14) |
| CIE-LCH | lch(24.64, 70.93, 306.33°) |
| OKLab | oklab(36.9% 0.0443 -0.1646) |
| OKLCH | oklch(36.9% 0.17 285.1) |
| XYZ | xyz(7.7904, 4.3003, 28.0176) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.49
Royal
#0C1793
ΔE00 5.01
Indigo (survey)
#380282
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 6.09
Indigo
#4B0082
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2393 #799323
analogous
#234193 #3D2393 #752393
triadic
#3D2393 #933D23 #23933D
tetradic
#3D2393 #932341 #799323 #239375
square
#3D2393 #932341 #799323 #239375
split-complementary
#3D2393 #937523 #419323
monochromatic
#140B30 #281762 #3D2393 #522FC4 #7659D7
Accessibility & contrast
On white
11.29
#3D2393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3D2393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2393
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2393 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#104259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d2393; /* rgb */ color: rgb(61, 35, 147); /* oklch */ color: oklch(36.9% 0.170 285.1);
Tailwind
colors: {
custom: {
50: '#7d61b4',
500: '#3d2393',
950: '#000000',
},
}SCSS
$custom: #3d2393; $custom-light: #7d61b4; $custom-dark: #000000;
JSON
{
"hex": "#3d2393",
"rgb": {
"r": 61,
"g": 35,
"b": 147
},
"hsl": {
"h": 253.929,
"s": 61.538,
"l": 35.686
},
"oklch": {
"l": 0.369,
"c": 0.17042,
"h": 285.1
},
"luminance": 0.04301
}Semantic roles & 50–950 ramp
primary
#3D2393
secondary
#A4BC56
accent
#E543BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980