#3B1A89#3B1A89
#3B1A89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.168 H 287.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1A89 |
|---|---|
| RGB | rgb(59, 26, 137) |
| HSL | hsl(258, 68%, 32%) |
| HSV | hsv(258, 81%, 54%) |
| CMYK | cmyk(56.9%, 81%, 0%, 46.3%) |
| CIE-LAB | lab(21.85, 43.26, -55.52) |
| CIE-LCH | lch(21.85, 70.38, 307.92°) |
| OKLab | oklab(34.59% 0.0507 -0.1598) |
| OKLCH | oklch(34.59% 0.168 287.6) |
| XYZ | xyz(6.6870, 3.4744, 23.9803) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.48
Indigo
#4B0082
ΔE00 4.45
Royal
#0C1793
ΔE00 4.70
Indigo Blue
#3A18B1
ΔE00 5.62
Midnight Blue
#191970
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1A89 #68891A
analogous
#1A3189 #3B1A89 #731A89
triadic
#3B1A89 #893B1A #1A893B
tetradic
#3B1A89 #891A31 #68891A #1A8973
square
#3B1A89 #891A31 #68891A #1A8973
split-complementary
#3B1A89 #89731A #31891A
monochromatic
#0F0622 #251056 #3B1A89 #5124BC #7042DB
Accessibility & contrast
On white
12.39
#3B1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3B1A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1A89
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1A89 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#183B52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3b1a89; /* rgb */ color: rgb(59, 26, 137); /* oklch */ color: oklch(34.6% 0.168 287.6);
Tailwind
colors: {
custom: {
50: '#7b5bad',
500: '#3b1a89',
950: '#000000',
},
}SCSS
$custom: #3b1a89; $custom-light: #7b5bad; $custom-dark: #000000;
JSON
{
"hex": "#3b1a89",
"rgb": {
"r": 59,
"g": 26,
"b": 137
},
"hsl": {
"h": 257.838,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.34593,
"c": 0.16764,
"h": 287.6
},
"luminance": 0.03475
}Semantic roles & 50–950 ramp
primary
#3B1A89
secondary
#98BC43
accent
#EB3DB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F