#3D1C93#3D1C93
#3D1C93 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.177 H 286.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C93 |
|---|---|
| RGB | rgb(61, 28, 147) |
| HSL | hsl(257, 68%, 34%) |
| HSV | hsv(257, 81%, 58%) |
| CMYK | cmyk(58.5%, 81%, 0%, 42.4%) |
| CIE-LAB | lab(23.43, 45.48, -59.13) |
| CIE-LCH | lch(23.43, 74.59, 307.57°) |
| OKLab | oklab(36.06% 0.0493 -0.1703) |
| OKLCH | oklch(36.06% 0.177 286.1) |
| XYZ | xyz(7.6046, 3.9287, 27.9557) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 4.45
Royal
#0C1793
ΔE00 4.62
Indigo
#4B0082
ΔE00 5.17
Cobalt Blue
#030AA7
ΔE00 5.33
Ultramarine
#2000B1
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C93 #72931C
analogous
#1C3693 #3D1C93 #791C93
triadic
#3D1C93 #933D1C #1C933D
tetradic
#3D1C93 #931C36 #72931C #1C9379
square
#3D1C93 #931C36 #72931C #1C9379
split-complementary
#3D1C93 #93791C #36931C
monochromatic
#12082C #281260 #3D1C93 #5226C6 #754CDD
Accessibility & contrast
On white
11.76
#3D1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3D1C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C93
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C93 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#113F58
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d1c93; /* rgb */ color: rgb(61, 28, 147); /* oklch */ color: oklch(36.1% 0.177 286.1);
Tailwind
colors: {
custom: {
50: '#7e5db4',
500: '#3d1c93',
950: '#000000',
},
}SCSS
$custom: #3d1c93; $custom-light: #7e5db4; $custom-dark: #000000;
JSON
{
"hex": "#3d1c93",
"rgb": {
"r": 61,
"g": 28,
"b": 147
},
"hsl": {
"h": 256.639,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.36057,
"c": 0.17727,
"h": 286.1
},
"luminance": 0.03929
}Semantic roles & 50–950 ramp
primary
#3D1C93
secondary
#9FBF4C
accent
#EB3DBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980