#3B1E91#3B1E91
#3B1E91 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.173 H 285.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1E91 |
|---|---|
| RGB | rgb(59, 30, 145) |
| HSL | hsl(255, 66%, 34%) |
| HSV | hsv(255, 79%, 57%) |
| CMYK | cmyk(59.3%, 79.3%, 0%, 43.1%) |
| CIE-LAB | lab(23.35, 43.69, -58.04) |
| CIE-LCH | lch(23.35, 72.65, 306.97°) |
| OKLab | oklab(35.88% 0.0454 -0.1672) |
| OKLCH | oklch(35.88% 0.173 285.2) |
| XYZ | xyz(7.3772, 3.9022, 27.1470) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.44
Indigo Blue
#3A18B1
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 4.64
Cobalt Blue
#030AA7
ΔE00 5.48
Indigo
#4B0082
ΔE00 5.48
Ultramarine
#2000B1
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1E91 #74911E
analogous
#1E3B91 #3B1E91 #741E91
triadic
#3B1E91 #913B1E #1E913B
tetradic
#3B1E91 #911E3B #74911E #1E9174
square
#3B1E91 #911E3B #74911E #1E9174
split-complementary
#3B1E91 #91741E #3B911E
monochromatic
#12092C #26145E #3B1E91 #5028C4 #724FDB
Accessibility & contrast
On white
11.79
#3B1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3B1E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1E91
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1E91 | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#0B3F57
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3b1e91; /* rgb */ color: rgb(59, 30, 145); /* oklch */ color: oklch(35.9% 0.173 285.2);
Tailwind
colors: {
custom: {
50: '#7c5eb2',
500: '#3b1e91',
950: '#000000',
},
}SCSS
$custom: #3b1e91; $custom-light: #7c5eb2; $custom-dark: #000000;
JSON
{
"hex": "#3b1e91",
"rgb": {
"r": 59,
"g": 30,
"b": 145
},
"hsl": {
"h": 255.13,
"s": 65.714,
"l": 34.314
},
"oklch": {
"l": 0.35883,
"c": 0.17326,
"h": 285.2
},
"luminance": 0.03903
}Semantic roles & 50–950 ramp
primary
#3B1E91
secondary
#A1BD4D
accent
#E93FBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980