#3D1C95#3D1C95
#3D1C95 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.180 H 285.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C95 |
|---|---|
| RGB | rgb(61, 28, 149) |
| HSL | hsl(256, 68%, 35%) |
| HSV | hsv(256, 81%, 58%) |
| CMYK | cmyk(59.1%, 81.2%, 0%, 41.6%) |
| CIE-LAB | lab(23.65, 46.05, -60.01) |
| CIE-LCH | lch(23.65, 75.65, 307.50°) |
| OKLab | oklab(36.27% 0.0486 -0.1729) |
| OKLCH | oklch(36.27% 0.18 285.7) |
| XYZ | xyz(7.7629, 3.9921, 28.7894) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Royal
#0C1793
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 4.63
Cobalt Blue
#030AA7
ΔE00 5.18
Ultramarine
#2000B1
ΔE00 5.22
Indigo
#4B0082
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C95 #74951C
analogous
#1C3795 #3D1C95 #7A1C95
triadic
#3D1C95 #953D1C #1C953D
tetradic
#3D1C95 #951C37 #74951C #1C957A
square
#3D1C95 #951C37 #74951C #1C957A
split-complementary
#3D1C95 #957A1C #37951C
monochromatic
#13092E #281261 #3D1C95 #5226C9 #754EDE
Accessibility & contrast
On white
11.68
#3D1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3D1C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C95
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C95 | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#0D4059
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d1c95; /* rgb */ color: rgb(61, 28, 149); /* oklch */ color: oklch(36.3% 0.180 285.7);
Tailwind
colors: {
custom: {
50: '#7e5db5',
500: '#3d1c95',
950: '#000000',
},
}SCSS
$custom: #3d1c95; $custom-light: #7e5db5; $custom-dark: #000000;
JSON
{
"hex": "#3d1c95",
"rgb": {
"r": 61,
"g": 28,
"b": 149
},
"hsl": {
"h": 256.364,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.36267,
"c": 0.17959,
"h": 285.7
},
"luminance": 0.03993
}Semantic roles & 50–950 ramp
primary
#3D1C95
secondary
#A1C04D
accent
#EB3DBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980