#3B1779#3B1779
#3B1779 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.152 H 292.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1779 |
|---|---|
| RGB | rgb(59, 23, 121) |
| HSL | hsl(262, 68%, 28%) |
| HSV | hsv(262, 81%, 47%) |
| CMYK | cmyk(51.2%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(19.73, 40.08, -48.88) |
| CIE-LCH | lch(19.73, 63.21, 309.35°) |
| OKLab | oklab(32.63% 0.0581 -0.1403) |
| OKLCH | oklch(32.63% 0.152 292.5) |
| XYZ | xyz(5.5603, 2.9229, 18.3567) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.31
Indigo
#4B0082
ΔE00 3.98
Royal Purple (survey)
#4B006E
ΔE00 5.05
Midnight Blue
#191970
ΔE00 5.26
Royal
#0C1793
ΔE00 6.35
Deep Blue
#040273
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1779 #557917
analogous
#172479 #3B1779 #6C1779
triadic
#3B1779 #793B17 #17793B
tetradic
#3B1779 #791724 #557917 #17796C
square
#3B1779 #791724 #557917 #17796C
split-complementary
#3B1779 #796C17 #247917
monochromatic
#0D051A #220D46 #3B1779 #5421AC #6F32D8
Accessibility & contrast
On white
13.25
#3B1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#3B1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1779
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1779 | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#273348
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3b1779; /* rgb */ color: rgb(59, 23, 121); /* oklch */ color: oklch(32.6% 0.152 292.5);
Tailwind
colors: {
custom: {
50: '#7859a1',
500: '#3b1779',
950: '#000000',
},
}SCSS
$custom: #3b1779; $custom-light: #7859a1; $custom-dark: #000000;
JSON
{
"hex": "#3b1779",
"rgb": {
"r": 59,
"g": 23,
"b": 121
},
"hsl": {
"h": 262.041,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.32625,
"c": 0.1519,
"h": 292.5
},
"luminance": 0.02923
}Semantic roles & 50–950 ramp
primary
#3B1779
secondary
#85AE3E
accent
#EB3DAB
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F