#3F1C99#3F1C99
#3F1C99 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.184 H 285.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C99 |
|---|---|
| RGB | rgb(63, 28, 153) |
| HSL | hsl(257, 69%, 35%) |
| HSV | hsv(257, 82%, 60%) |
| CMYK | cmyk(58.8%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(24.28, 47.43, -61.42) |
| CIE-LCH | lch(24.28, 77.61, 307.68°) |
| OKLab | oklab(36.88% 0.0504 -0.1769) |
| OKLCH | oklch(36.88% 0.184 285.9) |
| XYZ | xyz(8.2132, 4.1867, 30.5061) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Royal
#0C1793
ΔE00 4.91
Ultramarine
#2000B1
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.15
Royal Blue (survey)
#0504AA
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C99 #76991C
analogous
#1C3799 #3F1C99 #7D1C99
triadic
#3F1C99 #993F1C #1C993F
tetradic
#3F1C99 #991C37 #76991C #1C997D
square
#3F1C99 #991C37 #76991C #1C997D
split-complementary
#3F1C99 #997D1C #37991C
monochromatic
#140932 #2A1365 #3F1C99 #5425CD #7850DF
Accessibility & contrast
On white
11.43
#3F1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3F1C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C99
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C99 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#0E425B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f1c99; /* rgb */ color: rgb(63, 28, 153); /* oklch */ color: oklch(36.9% 0.184 285.9);
Tailwind
colors: {
custom: {
50: '#805eb8',
500: '#3f1c99',
950: '#000000',
},
}SCSS
$custom: #3f1c99; $custom-light: #805eb8; $custom-dark: #000000;
JSON
{
"hex": "#3f1c99",
"rgb": {
"r": 63,
"g": 28,
"b": 153
},
"hsl": {
"h": 256.8,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.36882,
"c": 0.18399,
"h": 285.9
},
"luminance": 0.04187
}Semantic roles & 50–950 ramp
primary
#3F1C99
secondary
#A2C24F
accent
#EC3CBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981