#3D1E8D#3D1E8D
#3D1E8D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.168 H 287.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1E8D |
|---|---|
| RGB | rgb(61, 30, 141) |
| HSL | hsl(257, 65%, 34%) |
| HSV | hsv(257, 79%, 55%) |
| CMYK | cmyk(56.7%, 78.7%, 0%, 44.7%) |
| CIE-LAB | lab(23.15, 42.78, -55.88) |
| CIE-LCH | lch(23.15, 70.37, 307.44°) |
| OKLab | oklab(35.67% 0.0497 -0.1608) |
| OKLCH | oklch(35.67% 0.168 287.2) |
| XYZ | xyz(7.1950, 3.8433, 25.5569) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.40
Royal
#0C1793
ΔE00 4.87
Indigo
#4B0082
ΔE00 5.07
Indigo Blue
#3A18B1
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1E8D #6E8D1E
analogous
#1E368D #3D1E8D #741E8D
triadic
#3D1E8D #8D3D1E #1E8D3D
tetradic
#3D1E8D #8D1E36 #6E8D1E #1E8D74
square
#3D1E8D #8D1E36 #6E8D1E #1E8D74
split-complementary
#3D1E8D #8D741E #368D1E
monochromatic
#110928 #27135B #3D1E8D #5329BF #744CD9
Accessibility & contrast
On white
11.87
#3D1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3D1E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1E8D
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1E8D | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#193E55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3d1e8d; /* rgb */ color: rgb(61, 30, 141); /* oklch */ color: oklch(35.7% 0.168 287.2);
Tailwind
colors: {
custom: {
50: '#7c5eaf',
500: '#3d1e8d',
950: '#000000',
},
}SCSS
$custom: #3d1e8d; $custom-light: #7c5eaf; $custom-dark: #000000;
JSON
{
"hex": "#3d1e8d",
"rgb": {
"r": 61,
"g": 30,
"b": 141
},
"hsl": {
"h": 256.757,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.35671,
"c": 0.16834,
"h": 287.2
},
"luminance": 0.03844
}Semantic roles & 50–950 ramp
primary
#3D1E8D
secondary
#9CBC4B
accent
#E840B9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980