#3B147F#3B147F
#3B147F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.162 H 291.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3B147F |
|---|---|
| RGB | rgb(59, 20, 127) |
| HSL | hsl(262, 73%, 29%) |
| HSV | hsv(262, 84%, 50%) |
| CMYK | cmyk(53.5%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.89, 43.08, -52.44) |
| CIE-LCH | lch(19.89, 67.87, 309.40°) |
| OKLab | oklab(32.92% 0.0583 -0.1507) |
| OKLCH | oklch(32.92% 0.162 291.1) |
| XYZ | xyz(5.8835, 2.9622, 20.3363) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.39
Indigo
#4B0082
ΔE00 3.44
Royal Purple (survey)
#4B006E
ΔE00 5.31
Midnight Blue
#191970
ΔE00 5.58
Royal
#0C1793
ΔE00 5.65
Darkblue
#00008B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B147F #587F14
analogous
#14237F #3B147F #71147F
triadic
#3B147F #7F3B14 #147F3B
tetradic
#3B147F #7F1423 #587F14 #147F71
square
#3B147F #7F1423 #587F14 #147F71
split-complementary
#3B147F #7F7114 #237F14
monochromatic
#0C041A #220C4A #3B147F #541CB4 #6F2FDE
Accessibility & contrast
On white
13.19
#3B147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#3B147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B147F
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B147F | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#23344B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3b147f; /* rgb */ color: rgb(59, 20, 127); /* oklch */ color: oklch(32.9% 0.162 291.1);
Tailwind
colors: {
custom: {
50: '#7a58a5',
500: '#3b147f',
950: '#000000',
},
}SCSS
$custom: #3b147f; $custom-light: #7a58a5; $custom-dark: #000000;
JSON
{
"hex": "#3b147f",
"rgb": {
"r": 59,
"g": 20,
"b": 127
},
"hsl": {
"h": 261.869,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.32921,
"c": 0.16161,
"h": 291.1
},
"luminance": 0.02962
}Semantic roles & 50–950 ramp
primary
#3B147F
secondary
#88B43B
accent
#EF38AD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F