#3B1885#3B1885
#3B1885 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.165 H 288.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1885 |
|---|---|
| RGB | rgb(59, 24, 133) |
| HSL | hsl(259, 69%, 31%) |
| HSV | hsv(259, 82%, 52%) |
| CMYK | cmyk(55.6%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(21.12, 43.03, -54.22) |
| CIE-LCH | lch(21.12, 69.22, 308.44°) |
| OKLab | oklab(33.96% 0.0534 -0.156) |
| OKLCH | oklch(33.96% 0.165 288.9) |
| XYZ | xyz(6.3627, 3.2762, 22.4829) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.01
Indigo
#4B0082
ΔE00 4.02
Royal
#0C1793
ΔE00 5.00
Midnight Blue
#191970
ΔE00 5.68
Darkblue
#00008B
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1885 #628518
analogous
#182B85 #3B1885 #711885
triadic
#3B1885 #853B18 #18853B
tetradic
#3B1885 #85182B #628518 #188571
square
#3B1885 #85182B #628518 #188571
split-complementary
#3B1885 #857118 #2B8518
monochromatic
#0D051D #240F51 #3B1885 #5221B9 #6F3CDC
Accessibility & contrast
On white
12.69
#3B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3B1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1885
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1885 | 1.00 | 12.69 | 1.66 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#1D384F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3b1885; /* rgb */ color: rgb(59, 24, 133); /* oklch */ color: oklch(34.0% 0.165 288.9);
Tailwind
colors: {
custom: {
50: '#7a5aaa',
500: '#3b1885',
950: '#000000',
},
}SCSS
$custom: #3b1885; $custom-light: #7a5aaa; $custom-dark: #000000;
JSON
{
"hex": "#3b1885",
"rgb": {
"r": 59,
"g": 24,
"b": 133
},
"hsl": {
"h": 259.266,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.33959,
"c": 0.16485,
"h": 288.9
},
"luminance": 0.03277
}Semantic roles & 50–950 ramp
primary
#3B1885
secondary
#92B940
accent
#EC3CB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F