#3D1C8D#3D1C8D
#3D1C8D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.170 H 287.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C8D |
|---|---|
| RGB | rgb(61, 28, 141) |
| HSL | hsl(258, 67%, 33%) |
| HSV | hsv(258, 80%, 55%) |
| CMYK | cmyk(56.7%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(22.81, 43.74, -56.43) |
| CIE-LCH | lch(22.81, 71.40, 307.78°) |
| OKLab | oklab(35.44% 0.0512 -0.1624) |
| OKLCH | oklch(35.44% 0.17 287.5) |
| XYZ | xyz(7.1460, 3.7453, 25.5405) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.04
Indigo
#4B0082
ΔE00 4.75
Royal
#0C1793
ΔE00 4.80
Indigo Blue
#3A18B1
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C8D #6C8D1C
analogous
#1C338D #3D1C8D #751C8D
triadic
#3D1C8D #8D3D1C #1C8D3D
tetradic
#3D1C8D #8D1C33 #6C8D1C #1C8D75
square
#3D1C8D #8D1C33 #6C8D1C #1C8D75
split-complementary
#3D1C8D #8D751C #338D1C
monochromatic
#110827 #27125A #3D1C8D #5326C0 #7349DB
Accessibility & contrast
On white
12.01
#3D1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3D1C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C8D
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C8D | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#1A3D54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3d1c8d; /* rgb */ color: rgb(61, 28, 141); /* oklch */ color: oklch(35.4% 0.170 287.5);
Tailwind
colors: {
custom: {
50: '#7c5daf',
500: '#3d1c8d',
950: '#000000',
},
}SCSS
$custom: #3d1c8d; $custom-light: #7c5daf; $custom-dark: #000000;
JSON
{
"hex": "#3d1c8d",
"rgb": {
"r": 61,
"g": 28,
"b": 141
},
"hsl": {
"h": 257.522,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.35437,
"c": 0.17029,
"h": 287.5
},
"luminance": 0.03746
}Semantic roles & 50–950 ramp
primary
#3D1C8D
secondary
#9BBD48
accent
#EA3EB8
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980