#3F1B60#3F1B60
#3F1B60 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.118 H 304.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B60 |
|---|---|
| RGB | rgb(63, 27, 96) |
| HSL | hsl(271, 56%, 24%) |
| HSV | hsv(271, 72%, 38%) |
| CMYK | cmyk(34.4%, 71.9%, 0%, 62.4%) |
| CIE-LAB | lab(18.74, 31.86, -34.21) |
| CIE-LCH | lch(18.74, 46.75, 312.96°) |
| OKLab | oklab(31.34% 0.0663 -0.0972) |
| OKLCH | oklch(31.34% 0.118 304.3) |
| XYZ | xyz(4.5527, 2.6852, 11.3425) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.43
Dark Indigo
#1F0954
ΔE00 6.60
Plum Purple
#4E0550
ΔE00 6.95
Dark Purple
#35063E
ΔE00 7.44
Indigo
#4B0082
ΔE00 7.45
Dark Violet
#34013F
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B60 #3C601B
analogous
#1C1B60 #3F1B60 #601B5F
triadic
#3F1B60 #603F1B #1B603F
tetradic
#3F1B60 #601C1B #3C601B #1B5F60
square
#3F1B60 #601C1B #3C601B #1B5F60
split-complementary
#3F1B60 #5F601B #1B601C
monochromatic
#100718 #200E30 #3F1B60 #5E2890 #7E36C0
Accessibility & contrast
On white
13.66
#3F1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3F1B60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B60
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B60 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#032E5F
Tritanopia (blue-blind)
#392A3B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3f1b60; /* rgb */ color: rgb(63, 27, 96); /* oklch */ color: oklch(31.3% 0.118 304.3);
Tailwind
colors: {
custom: {
50: '#775a8e',
500: '#3f1b60',
950: '#000000',
},
}SCSS
$custom: #3f1b60; $custom-light: #775a8e; $custom-dark: #000000;
JSON
{
"hex": "#3f1b60",
"rgb": {
"r": 63,
"g": 27,
"b": 96
},
"hsl": {
"h": 271.304,
"s": 56.098,
"l": 24.118
},
"oklch": {
"l": 0.31343,
"c": 0.11764,
"h": 304.3
},
"luminance": 0.02685
}Semantic roles & 50–950 ramp
primary
#3F1B60
secondary
#6A9641
accent
#DF4891
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D