#3F1E94#3F1E94
#3F1E94 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.176 H 286.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E94 |
|---|---|
| RGB | rgb(63, 30, 148) |
| HSL | hsl(257, 66%, 35%) |
| HSV | hsv(257, 80%, 58%) |
| CMYK | cmyk(57.4%, 79.7%, 0%, 42%) |
| CIE-LAB | lab(24.07, 45.08, -58.68) |
| CIE-LCH | lch(24.07, 74.00, 307.53°) |
| OKLab | oklab(36.58% 0.0508 -0.169) |
| OKLCH | oklch(36.58% 0.176 286.7) |
| XYZ | xyz(7.8579, 4.1230, 28.3930) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 4.87
Royal
#0C1793
ΔE00 4.96
Indigo
#4B0082
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.65
Ultramarine
#2000B1
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E94 #73941E
analogous
#1E3894 #3F1E94 #7A1E94
triadic
#3F1E94 #943F1E #1E943F
tetradic
#3F1E94 #941E38 #73941E #1E947A
square
#3F1E94 #941E38 #73941E #1E947A
split-complementary
#3F1E94 #947A1E #38941E
monochromatic
#14092E #291461 #3F1E94 #5528C7 #7851DC
Accessibility & contrast
On white
11.51
#3F1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3F1E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E94
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E94 | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#174059
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f1e94; /* rgb */ color: rgb(63, 30, 148); /* oklch */ color: oklch(36.6% 0.176 286.7);
Tailwind
colors: {
custom: {
50: '#7f5fb5',
500: '#3f1e94',
950: '#000000',
},
}SCSS
$custom: #3f1e94; $custom-light: #7f5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3f1e94",
"rgb": {
"r": 63,
"g": 30,
"b": 148
},
"hsl": {
"h": 256.78,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.36584,
"c": 0.17642,
"h": 286.7
},
"luminance": 0.04123
}Semantic roles & 50–950 ramp
primary
#3F1E94
secondary
#9FBF4F
accent
#E93FB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980