#3D1F95#3D1F95
#3D1F95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.177 H 285.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1F95 |
|---|---|
| RGB | rgb(61, 31, 149) |
| HSL | hsl(255, 66%, 35%) |
| HSV | hsv(255, 79%, 58%) |
| CMYK | cmyk(59.1%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(24.13, 44.64, -59.21) |
| CIE-LCH | lch(24.13, 74.15, 307.01°) |
| OKLab | oklab(36.61% 0.0466 -0.1706) |
| OKLCH | oklch(36.61% 0.177 285.3) |
| XYZ | xyz(7.8376, 4.1415, 28.8143) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Royal
#0C1793
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.47
Ultramarine
#2000B1
ΔE00 5.55
Indigo
#4B0082
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1F95 #77951F
analogous
#1F3C95 #3D1F95 #781F95
triadic
#3D1F95 #953D1F #1F953D
tetradic
#3D1F95 #951F3C #77951F #1F9578
square
#3D1F95 #951F3C #77951F #1F9578
split-complementary
#3D1F95 #95781F #3C951F
monochromatic
#140A30 #281462 #3D1F95 #522AC8 #7653DB
Accessibility & contrast
On white
11.49
#3D1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3D1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1F95
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1F95 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#0C4159
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d1f95; /* rgb */ color: rgb(61, 31, 149); /* oklch */ color: oklch(36.6% 0.177 285.3);
Tailwind
colors: {
custom: {
50: '#7e5fb5',
500: '#3d1f95',
950: '#000000',
},
}SCSS
$custom: #3d1f95; $custom-light: #7e5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3d1f95",
"rgb": {
"r": 61,
"g": 31,
"b": 149
},
"hsl": {
"h": 255.254,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36606,
"c": 0.17683,
"h": 285.3
},
"luminance": 0.04142
}Semantic roles & 50–950 ramp
primary
#3D1F95
secondary
#A3BF51
accent
#E93FBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980