#3F147B#3F147B
#3F147B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.157 H 294.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3F147B |
|---|---|
| RGB | rgb(63, 20, 123) |
| HSL | hsl(265, 72%, 28%) |
| HSV | hsv(265, 84%, 48%) |
| CMYK | cmyk(48.8%, 83.7%, 0%, 51.8%) |
| CIE-LAB | lab(19.99, 42.55, -49.71) |
| CIE-LCH | lch(19.99, 65.43, 310.56°) |
| OKLab | oklab(32.98% 0.0663 -0.1426) |
| OKLCH | oklch(32.98% 0.157 294.9) |
| XYZ | xyz(5.8742, 2.9870, 19.0021) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.88
Indigo
#4B0082
ΔE00 3.04
Royal Purple (survey)
#4B006E
ΔE00 4.39
Midnight Blue
#191970
ΔE00 6.11
Royal
#0C1793
ΔE00 6.70
Navy
#000080
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F147B #507B14
analogous
#141C7B #3F147B #72147B
triadic
#3F147B #7B3F14 #147B3F
tetradic
#3F147B #7B141C #507B14 #147B72
square
#3F147B #7B141C #507B14 #147B72
split-complementary
#3F147B #7B7214 #1C7B14
monochromatic
#0D041A #240B46 #3F147B #5A1DB0 #762DDD
Accessibility & contrast
On white
13.15
#3F147B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3F147B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F147B
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F147B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F147B | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#2D3248
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3f147b; /* rgb */ color: rgb(63, 20, 123); /* oklch */ color: oklch(33.0% 0.157 294.9);
Tailwind
colors: {
custom: {
50: '#7b58a2',
500: '#3f147b',
950: '#000000',
},
}SCSS
$custom: #3f147b; $custom-light: #7b58a2; $custom-dark: #000000;
JSON
{
"hex": "#3f147b",
"rgb": {
"r": 63,
"g": 20,
"b": 123
},
"hsl": {
"h": 265.049,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.32981,
"c": 0.15728,
"h": 294.9
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#3F147B
secondary
#7FB13A
accent
#EF39A3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F