#3B1689#3B1689
#3B1689 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.171 H 288.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1689 |
|---|---|
| RGB | rgb(59, 22, 137) |
| HSL | hsl(259, 72%, 31%) |
| HSV | hsv(259, 84%, 54%) |
| CMYK | cmyk(56.9%, 83.9%, 0%, 46.3%) |
| CIE-LAB | lab(21.24, 45.03, -56.52) |
| CIE-LCH | lch(21.24, 72.27, 308.54°) |
| OKLab | oklab(34.17% 0.0533 -0.1627) |
| OKLCH | oklch(34.17% 0.171 288.1) |
| XYZ | xyz(6.6046, 3.3094, 23.9528) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.80
Indigo
#4B0082
ΔE00 3.95
Royal
#0C1793
ΔE00 4.71
Indigo Blue
#3A18B1
ΔE00 5.65
Darkblue
#00008B
ΔE00 5.71
Cobalt Blue
#030AA7
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1689 #648916
analogous
#162B89 #3B1689 #741689
triadic
#3B1689 #893B16 #16893B
tetradic
#3B1689 #89162B #648916 #168974
square
#3B1689 #89162B #648916 #168974
split-complementary
#3B1689 #897416 #2B8916
monochromatic
#0E0520 #240E54 #3B1689 #521EBE #6F3ADF
Accessibility & contrast
On white
12.64
#3B1689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3B1689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1689
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1689 | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#193951
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3b1689; /* rgb */ color: rgb(59, 22, 137); /* oklch */ color: oklch(34.2% 0.171 288.1);
Tailwind
colors: {
custom: {
50: '#7b59ad',
500: '#3b1689',
950: '#000000',
},
}SCSS
$custom: #3b1689; $custom-light: #7b59ad; $custom-dark: #000000;
JSON
{
"hex": "#3b1689",
"rgb": {
"r": 59,
"g": 22,
"b": 137
},
"hsl": {
"h": 259.304,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.34172,
"c": 0.17119,
"h": 288.1
},
"luminance": 0.0331
}Semantic roles & 50–950 ramp
primary
#3B1689
secondary
#94BD3E
accent
#EF39B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F