#3F1F89#3F1F89
#3F1F89 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.162 H 289.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1F89 |
|---|---|
| RGB | rgb(63, 31, 137) |
| HSL | hsl(258, 63%, 33%) |
| HSV | hsv(258, 77%, 54%) |
| CMYK | cmyk(54%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(23.14, 41.40, -53.38) |
| CIE-LCH | lch(23.14, 67.55, 307.80°) |
| OKLab | oklab(35.6% 0.0533 -0.1534) |
| OKLCH | oklch(35.6% 0.162 289.1) |
| XYZ | xyz(7.0539, 3.8425, 24.0321) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.47
Indigo
#4B0082
ΔE00 4.87
Royal
#0C1793
ΔE00 5.44
Indigo Blue
#3A18B1
ΔE00 5.80
Midnight Blue
#191970
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1F89 #69891F
analogous
#1F3489 #3F1F89 #741F89
triadic
#3F1F89 #893F1F #1F893F
tetradic
#3F1F89 #891F34 #69891F #1F8974
square
#3F1F89 #891F34 #69891F #1F8974
split-complementary
#3F1F89 #89741F #34891F
monochromatic
#110825 #281457 #3F1F89 #562ABB #764CD6
Accessibility & contrast
On white
11.87
#3F1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3F1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1F89
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1F89 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#233C53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1f89; /* rgb */ color: rgb(63, 31, 137); /* oklch */ color: oklch(35.6% 0.162 289.1);
Tailwind
colors: {
custom: {
50: '#7d5eac',
500: '#3f1f89',
950: '#000000',
},
}SCSS
$custom: #3f1f89; $custom-light: #7d5eac; $custom-dark: #000000;
JSON
{
"hex": "#3f1f89",
"rgb": {
"r": 63,
"g": 31,
"b": 137
},
"hsl": {
"h": 258.113,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.35601,
"c": 0.16243,
"h": 289.1
},
"luminance": 0.03843
}Semantic roles & 50–950 ramp
primary
#3F1F89
secondary
#98B94B
accent
#E642B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F