#3F1E89#3F1E89
#3F1E89 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.163 H 289.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E89 |
|---|---|
| RGB | rgb(63, 30, 137) |
| HSL | hsl(259, 64%, 33%) |
| HSV | hsv(259, 78%, 54%) |
| CMYK | cmyk(54%, 78.1%, 0%, 46.3%) |
| CIE-LAB | lab(22.97, 41.90, -53.67) |
| CIE-LCH | lch(22.97, 68.08, 307.98°) |
| OKLab | oklab(35.48% 0.0541 -0.1543) |
| OKLCH | oklch(35.48% 0.163 289.3) |
| XYZ | xyz(7.0282, 3.7911, 24.0235) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.28
Indigo
#4B0082
ΔE00 4.69
Royal
#0C1793
ΔE00 5.40
Indigo Blue
#3A18B1
ΔE00 5.76
Midnight Blue
#191970
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E89 #68891E
analogous
#1E3289 #3F1E89 #751E89
triadic
#3F1E89 #893F1E #1E893F
tetradic
#3F1E89 #891E32 #68891E #1E8975
square
#3F1E89 #891E32 #68891E #1E8975
split-complementary
#3F1E89 #89751E #32891E
monochromatic
#110825 #281357 #3F1E89 #5629BB #764AD7
Accessibility & contrast
On white
11.94
#3F1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3F1E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E89
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E89 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#233C52
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1e89; /* rgb */ color: rgb(63, 30, 137); /* oklch */ color: oklch(35.5% 0.163 289.3);
Tailwind
colors: {
custom: {
50: '#7d5eac',
500: '#3f1e89',
950: '#000000',
},
}SCSS
$custom: #3f1e89; $custom-light: #7d5eac; $custom-dark: #000000;
JSON
{
"hex": "#3f1e89",
"rgb": {
"r": 63,
"g": 30,
"b": 137
},
"hsl": {
"h": 258.505,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.35478,
"c": 0.16348,
"h": 289.3
},
"luminance": 0.03791
}Semantic roles & 50–950 ramp
primary
#3F1E89
secondary
#97BA49
accent
#E741B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F