#3D1C8F#3D1C8F
#3D1C8F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.173 H 287.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C8F |
|---|---|
| RGB | rgb(61, 28, 143) |
| HSL | hsl(257, 67%, 34%) |
| HSV | hsv(257, 80%, 56%) |
| CMYK | cmyk(57.3%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(23.02, 44.32, -57.33) |
| CIE-LCH | lch(23.02, 72.47, 307.71°) |
| OKLab | oklab(35.64% 0.0506 -0.1651) |
| OKLCH | oklch(35.64% 0.173 287) |
| XYZ | xyz(7.2962, 3.8054, 26.3313) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.16
Royal
#0C1793
ΔE00 4.72
Indigo Blue
#3A18B1
ΔE00 4.75
Indigo
#4B0082
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 5.68
Ultramarine
#2000B1
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C8F #6E8F1C
analogous
#1C358F #3D1C8F #761C8F
triadic
#3D1C8F #8F3D1C #1C8F3D
tetradic
#3D1C8F #8F1C35 #6E8F1C #1C8F76
square
#3D1C8F #8F1C35 #6E8F1C #1C8F76
split-complementary
#3D1C8F #8F761C #358F1C
monochromatic
#110829 #27125C #3D1C8F #5326C2 #744ADC
Accessibility & contrast
On white
11.92
#3D1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3D1C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C8F
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C8F | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#173E55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3d1c8f; /* rgb */ color: rgb(61, 28, 143); /* oklch */ color: oklch(35.6% 0.173 287.0);
Tailwind
colors: {
custom: {
50: '#7d5db1',
500: '#3d1c8f',
950: '#000000',
},
}SCSS
$custom: #3d1c8f; $custom-light: #7d5db1; $custom-dark: #000000;
JSON
{
"hex": "#3d1c8f",
"rgb": {
"r": 61,
"g": 28,
"b": 143
},
"hsl": {
"h": 257.217,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.35643,
"c": 0.17263,
"h": 287
},
"luminance": 0.03806
}Semantic roles & 50–950 ramp
primary
#3D1C8F
secondary
#9CBE49
accent
#EA3EB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980