#3B146F#3B146F
#3B146F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.143 H 296.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3B146F |
|---|---|
| RGB | rgb(59, 20, 111) |
| HSL | hsl(266, 69%, 26%) |
| HSV | hsv(266, 82%, 44%) |
| CMYK | cmyk(46.8%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(18.27, 38.67, -44.84) |
| CIE-LCH | lch(18.27, 59.21, 310.78°) |
| OKLab | oklab(31.3% 0.0638 -0.1285) |
| OKLCH | oklch(31.3% 0.143 296.4) |
| XYZ | xyz(4.9223, 2.5777, 15.2740) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 4.16
Indigo
#4B0082
ΔE00 4.40
Midnight Blue
#191970
ΔE00 5.70
Dark Indigo
#1F0954
ΔE00 5.96
Dark Royal Blue
#02066F
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B146F #486F14
analogous
#141A6F #3B146F #68146F
triadic
#3B146F #6F3B14 #146F3B
tetradic
#3B146F #6F141A #486F14 #146F68
square
#3B146F #6F141A #486F14 #146F68
split-complementary
#3B146F #6F6814 #1A6F14
monochromatic
#0E051A #1F0B3B #3B146F #571DA3 #7227D7
Accessibility & contrast
On white
13.86
#3B146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3B146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B146F
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B146F | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#2D2D41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3b146f; /* rgb */ color: rgb(59, 20, 111); /* oklch */ color: oklch(31.3% 0.143 296.4);
Tailwind
colors: {
custom: {
50: '#775799',
500: '#3b146f',
950: '#000000',
},
}SCSS
$custom: #3b146f; $custom-light: #775799; $custom-dark: #000000;
JSON
{
"hex": "#3b146f",
"rgb": {
"r": 59,
"g": 20,
"b": 111
},
"hsl": {
"h": 265.714,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.31301,
"c": 0.14344,
"h": 296.4
},
"luminance": 0.02578
}Semantic roles & 50–950 ramp
primary
#3B146F
secondary
#77A639
accent
#EC3CA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E