#3F1D8B#3F1D8B
#3F1D8B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.167 H 289.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1D8B |
|---|---|
| RGB | rgb(63, 29, 139) |
| HSL | hsl(259, 65%, 33%) |
| HSV | hsv(259, 79%, 55%) |
| CMYK | cmyk(54.7%, 79.1%, 0%, 45.5%) |
| CIE-LAB | lab(23.00, 42.96, -54.87) |
| CIE-LCH | lch(23.00, 69.69, 308.06°) |
| OKLab | oklab(35.56% 0.0543 -0.1578) |
| OKLCH | oklch(35.56% 0.167 289) |
| XYZ | xyz(7.1481, 3.7992, 24.7778) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.15
Indigo
#4B0082
ΔE00 4.61
Royal
#0C1793
ΔE00 5.24
Indigo Blue
#3A18B1
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 6.38
Midnight Blue
#191970
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1D8B #698B1D
analogous
#1D328B #3F1D8B #761D8B
triadic
#3F1D8B #8B3F1D #1D8B3F
tetradic
#3F1D8B #8B1D32 #698B1D #1D8B76
square
#3F1D8B #8B1D32 #698B1D #1D8B76
split-complementary
#3F1D8B #8B761D #328B1D
monochromatic
#110826 #281258 #3F1D8B #5628BE #7649D9
Accessibility & contrast
On white
11.93
#3F1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3F1D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1D8B
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1D8B | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#213C53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1d8b; /* rgb */ color: rgb(63, 29, 139); /* oklch */ color: oklch(35.6% 0.167 289.0);
Tailwind
colors: {
custom: {
50: '#7d5dae',
500: '#3f1d8b',
950: '#000000',
},
}SCSS
$custom: #3f1d8b; $custom-light: #7d5dae; $custom-dark: #000000;
JSON
{
"hex": "#3f1d8b",
"rgb": {
"r": 63,
"g": 29,
"b": 139
},
"hsl": {
"h": 258.545,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.35557,
"c": 0.16687,
"h": 289
},
"luminance": 0.038
}Semantic roles & 50–950 ramp
primary
#3F1D8B
secondary
#98BB49
accent
#E83FB4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F