#3B1A9E#3B1A9E
#3B1A9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.192 H 283.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1A9E |
|---|---|
| RGB | rgb(59, 26, 158) |
| HSL | hsl(255, 72%, 36%) |
| HSV | hsv(255, 84%, 62%) |
| CMYK | cmyk(62.7%, 83.5%, 0%, 38%) |
| CIE-LAB | lab(24.12, 49.29, -64.77) |
| CIE-LCH | lch(24.12, 81.39, 307.27°) |
| OKLab | oklab(36.83% 0.0435 -0.1868) |
| OKLCH | oklch(36.83% 0.192 283.1) |
| XYZ | xyz(8.3427, 4.1366, 32.6999) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.54
Ultramarine
#2000B1
ΔE00 4.09
Cobalt Blue
#030AA7
ΔE00 4.34
Royal
#0C1793
ΔE00 4.50
Royal Blue (survey)
#0504AA
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1A9E #7D9E1A
analogous
#1A3B9E #3B1A9E #7D1A9E
triadic
#3B1A9E #9E3B1A #1A9E3B
tetradic
#3B1A9E #9E1A3B #7D9E1A #1A9E7D
square
#3B1A9E #9E1A3B #7D9E1A #1A9E7D
split-complementary
#3B1A9E #9E7D1A #3B9E1A
monochromatic
#140935 #271169 #3B1A9E #4F23D3 #7550E2
Accessibility & contrast
On white
11.49
#3B1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3B1A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1A9E
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1A9E | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b1a9e; /* rgb */ color: rgb(59, 26, 158); /* oklch */ color: oklch(36.8% 0.192 283.1);
Tailwind
colors: {
custom: {
50: '#7f5dbc',
500: '#3b1a9e',
950: '#000000',
},
}SCSS
$custom: #3b1a9e; $custom-light: #7f5dbc; $custom-dark: #000000;
JSON
{
"hex": "#3b1a9e",
"rgb": {
"r": 59,
"g": 26,
"b": 158
},
"hsl": {
"h": 255,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.36834,
"c": 0.19176,
"h": 283.1
},
"luminance": 0.04137
}Semantic roles & 50–950 ramp
primary
#3B1A9E
secondary
#A7C54F
accent
#EE39C1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981