#3F2B86#3F2B86
#3F2B86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.144 H 287.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2B86 |
|---|---|
| RGB | rgb(63, 43, 134) |
| HSL | hsl(253, 51%, 35%) |
| HSV | hsv(253, 68%, 53%) |
| CMYK | cmyk(53%, 67.9%, 0%, 47.5%) |
| CIE-LAB | lab(25.28, 33.80, -48.01) |
| CIE-LCH | lch(25.28, 58.72, 305.14°) |
| OKLab | oklab(37.04% 0.0427 -0.1378) |
| OKLCH | oklch(37.04% 0.144 287.2) |
| XYZ | xyz(7.2156, 4.5054, 23.0391) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 6.47
Midnight Blue
#191970
ΔE00 6.79
Royal
#0C1793
ΔE00 6.95
Indigo (survey)
#380282
ΔE00 7.35
Indigo Blue
#3A18B1
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2B86 #72862B
analogous
#2B4586 #3F2B86 #6D2B86
triadic
#3F2B86 #863F2B #2B863F
tetradic
#3F2B86 #862B45 #72862B #2B866D
square
#3F2B86 #862B45 #72862B #2B866D
split-complementary
#3F2B86 #866D2B #45862B
monochromatic
#130D29 #291C58 #3F2B86 #553AB4 #7760CC
Accessibility & contrast
On white
11.05
#3F2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F2B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2B86
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2B86 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#244254
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2b86; /* rgb */ color: rgb(63, 43, 134); /* oklch */ color: oklch(37.0% 0.144 287.2);
Tailwind
colors: {
custom: {
50: '#7b66aa',
500: '#3f2b86',
950: '#000000',
},
}SCSS
$custom: #3f2b86; $custom-light: #7b66aa; $custom-dark: #000000;
JSON
{
"hex": "#3f2b86",
"rgb": {
"r": 63,
"g": 43,
"b": 134
},
"hsl": {
"h": 253.187,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.37035,
"c": 0.14423,
"h": 287.2
},
"luminance": 0.04506
}Semantic roles & 50–950 ramp
primary
#3F2B86
secondary
#9FB25B
accent
#DB4DBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F