#3F1AA1#3F1AA1
#3F1AA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.195 H 284.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1AA1 |
|---|---|
| RGB | rgb(63, 26, 161) |
| HSL | hsl(256, 72%, 37%) |
| HSV | hsv(256, 84%, 63%) |
| CMYK | cmyk(60.9%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(24.85, 50.53, -65.37) |
| CIE-LCH | lch(24.85, 82.62, 307.71°) |
| OKLab | oklab(37.53% 0.0488 -0.1884) |
| OKLCH | oklch(37.53% 0.195 284.5) |
| XYZ | xyz(8.8503, 4.3682, 34.0881) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.19
Ultramarine
#2000B1
ΔE00 4.19
Cobalt Blue
#030AA7
ΔE00 4.72
Royal Blue (survey)
#0504AA
ΔE00 4.86
Royal
#0C1793
ΔE00 5.13
Indigo (survey)
#380282
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1AA1 #7CA11A
analogous
#1A39A1 #3F1AA1 #831AA1
triadic
#3F1AA1 #A13F1A #1AA13F
tetradic
#3F1AA1 #A11A39 #7CA11A #1AA183
square
#3F1AA1 #A11A39 #7CA11A #1AA183
split-complementary
#3F1AA1 #A1831A #39A11A
monochromatic
#160938 #2A116C #3F1AA1 #5423D6 #7A52E3
Accessibility & contrast
On white
11.21
#3F1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3F1AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1AA1
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1AA1 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f1aa1; /* rgb */ color: rgb(63, 26, 161); /* oklch */ color: oklch(37.5% 0.195 284.5);
Tailwind
colors: {
custom: {
50: '#815dbe',
500: '#3f1aa1',
950: '#000000',
},
}SCSS
$custom: #3f1aa1; $custom-light: #815dbe; $custom-dark: #000000;
JSON
{
"hex": "#3f1aa1",
"rgb": {
"r": 63,
"g": 26,
"b": 161
},
"hsl": {
"h": 256.444,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.37534,
"c": 0.19462,
"h": 284.5
},
"luminance": 0.04369
}Semantic roles & 50–950 ramp
primary
#3F1AA1
secondary
#A6C651
accent
#EF39BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981