#3F1B96#3F1B96
#3F1B96 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.181 H 286.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B96 |
|---|---|
| RGB | rgb(63, 27, 150) |
| HSL | hsl(258, 69%, 35%) |
| HSV | hsv(258, 82%, 59%) |
| CMYK | cmyk(58%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(23.81, 47.02, -60.35) |
| CIE-LCH | lch(23.81, 76.51, 307.93°) |
| OKLab | oklab(36.46% 0.0521 -0.1738) |
| OKLCH | oklch(36.46% 0.181 286.7) |
| XYZ | xyz(7.9452, 4.0422, 29.2098) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 4.60
Royal
#0C1793
ΔE00 4.86
Indigo
#4B0082
ΔE00 5.14
Ultramarine
#2000B1
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B96 #72961B
analogous
#1B3496 #3F1B96 #7D1B96
triadic
#3F1B96 #963F1B #1B963F
tetradic
#3F1B96 #961B34 #72961B #1B967D
square
#3F1B96 #961B34 #72961B #1B967D
split-complementary
#3F1B96 #967D1B #34961B
monochromatic
#13082E #291262 #3F1B96 #5524CA #774DDF
Accessibility & contrast
On white
11.61
#3F1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3F1B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B96
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B96 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#144059
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f1b96; /* rgb */ color: rgb(63, 27, 150); /* oklch */ color: oklch(36.5% 0.181 286.7);
Tailwind
colors: {
custom: {
50: '#7f5db6',
500: '#3f1b96',
950: '#000000',
},
}SCSS
$custom: #3f1b96; $custom-light: #7f5db6; $custom-dark: #000000;
JSON
{
"hex": "#3f1b96",
"rgb": {
"r": 63,
"g": 27,
"b": 150
},
"hsl": {
"h": 257.561,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.36463,
"c": 0.18143,
"h": 286.7
},
"luminance": 0.04043
}Semantic roles & 50–950 ramp
primary
#3F1B96
secondary
#9FC14C
accent
#EC3BB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980