#3F2F86#3F2F86
#3F2F86 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.139 H 286.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2F86 |
|---|---|
| RGB | rgb(63, 47, 134) |
| HSL | hsl(251, 48%, 35%) |
| HSV | hsv(251, 65%, 53%) |
| CMYK | cmyk(53%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(26.19, 31.35, -46.53) |
| CIE-LCH | lch(26.19, 56.10, 303.97°) |
| OKLab | oklab(37.7% 0.0385 -0.1334) |
| OKLCH | oklch(37.7% 0.139 286.1) |
| XYZ | xyz(7.3682, 4.8107, 23.0899) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.09
Blueberry
#464196
ΔE00 5.47
Sapphire (survey)
#2138AB
ΔE00 7.35
Midnight Blue
#191970
ΔE00 7.36
Rebeccapurple
#663399
ΔE00 7.56
Royal
#0C1793
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2F86 #76862F
analogous
#2F4B86 #3F2F86 #6A2F86
triadic
#3F2F86 #863F2F #2F863F
tetradic
#3F2F86 #862F4B #76862F #2F866A
square
#3F2F86 #862F4B #76862F #2F866A
split-complementary
#3F2F86 #866A2F #4B862F
monochromatic
#140F2B #2A1F59 #3F2F86 #543FB3 #7866C9
Accessibility & contrast
On white
10.70
#3F2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3F2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2F86
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2F86 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#244456
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f2f86; /* rgb */ color: rgb(63, 47, 134); /* oklch */ color: oklch(37.7% 0.139 286.1);
Tailwind
colors: {
custom: {
50: '#7b68aa',
500: '#3f2f86',
950: '#000000',
},
}SCSS
$custom: #3f2f86; $custom-light: #7b68aa; $custom-dark: #000000;
JSON
{
"hex": "#3f2f86",
"rgb": {
"r": 63,
"g": 47,
"b": 134
},
"hsl": {
"h": 251.034,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.37696,
"c": 0.13883,
"h": 286.1
},
"luminance": 0.04811
}Semantic roles & 50–950 ramp
primary
#3F2F86
secondary
#A2B060
accent
#D850BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F