#3F1B89#3F1B89
#3F1B89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.167 H 289.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B89 |
|---|---|
| RGB | rgb(63, 27, 137) |
| HSL | hsl(260, 67%, 32%) |
| HSV | hsv(260, 80%, 54%) |
| CMYK | cmyk(54%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(22.47, 43.34, -54.49) |
| CIE-LCH | lch(22.47, 69.62, 308.50°) |
| OKLab | oklab(35.13% 0.0564 -0.1567) |
| OKLCH | oklch(35.13% 0.167 289.8) |
| XYZ | xyz(6.9559, 3.6465, 23.9994) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.71
Indigo
#4B0082
ΔE00 4.19
Royal
#0C1793
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 5.70
Midnight Blue
#191970
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B89 #65891B
analogous
#1B2E89 #3F1B89 #761B89
triadic
#3F1B89 #893F1B #1B893F
tetradic
#3F1B89 #891B2E #65891B #1B8976
square
#3F1B89 #891B2E #65891B #1B8976
split-complementary
#3F1B89 #89761B #2E891B
monochromatic
#100723 #271156 #3F1B89 #5725BC #7544DA
Accessibility & contrast
On white
12.14
#3F1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3F1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B89
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B89 | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#233B52
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f1b89; /* rgb */ color: rgb(63, 27, 137); /* oklch */ color: oklch(35.1% 0.167 289.8);
Tailwind
colors: {
custom: {
50: '#7d5cac',
500: '#3f1b89',
950: '#000000',
},
}SCSS
$custom: #3f1b89; $custom-light: #7d5cac; $custom-dark: #000000;
JSON
{
"hex": "#3f1b89",
"rgb": {
"r": 63,
"g": 27,
"b": 137
},
"hsl": {
"h": 259.636,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.35127,
"c": 0.16651,
"h": 289.8
},
"luminance": 0.03647
}Semantic roles & 50–950 ramp
primary
#3F1B89
secondary
#95BC44
accent
#EA3EB2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F