#3F2B83#3F2B83
#3F2B83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.140 H 287.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2B83 |
|---|---|
| RGB | rgb(63, 43, 131) |
| HSL | hsl(254, 51%, 34%) |
| HSV | hsv(254, 67%, 51%) |
| CMYK | cmyk(51.9%, 67.2%, 0%, 48.6%) |
| CIE-LAB | lab(25.02, 32.85, -46.55) |
| CIE-LCH | lch(25.02, 56.97, 305.22°) |
| OKLab | oklab(36.77% 0.0431 -0.1335) |
| OKLCH | oklch(36.77% 0.14 287.9) |
| XYZ | xyz(7.0093, 4.4229, 21.9527) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 6.62
Midnight Blue
#191970
ΔE00 6.68
Royal
#0C1793
ΔE00 7.23
Indigo (survey)
#380282
ΔE00 7.43
Indigo
#4B0082
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2B83 #6F832B
analogous
#2B4383 #3F2B83 #6B2B83
triadic
#3F2B83 #833F2B #2B833F
tetradic
#3F2B83 #832B43 #6F832B #2B836B
square
#3F2B83 #832B43 #6F832B #2B836B
split-complementary
#3F2B83 #836B2B #43832B
monochromatic
#130D27 #291C55 #3F2B83 #553AB1 #775ECA
Accessibility & contrast
On white
11.14
#3F2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3F2B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2B83
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2B83 | 1.00 | 11.14 | 1.88 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#274153
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2b83; /* rgb */ color: rgb(63, 43, 131); /* oklch */ color: oklch(36.8% 0.140 287.9);
Tailwind
colors: {
custom: {
50: '#7b66a8',
500: '#3f2b83',
950: '#000000',
},
}SCSS
$custom: #3f2b83; $custom-light: #7b66a8; $custom-dark: #000000;
JSON
{
"hex": "#3f2b83",
"rgb": {
"r": 63,
"g": 43,
"b": 131
},
"hsl": {
"h": 253.636,
"s": 50.575,
"l": 34.118
},
"oklch": {
"l": 0.36773,
"c": 0.14024,
"h": 287.9
},
"luminance": 0.04423
}Semantic roles & 50–950 ramp
primary
#3F2B83
secondary
#9CB05A
accent
#DA4EBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F