#3B1E95#3B1E95
#3B1E95 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.178 H 284.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1E95 |
|---|---|
| RGB | rgb(59, 30, 149) |
| HSL | hsl(255, 66%, 35%) |
| HSV | hsv(255, 80%, 58%) |
| CMYK | cmyk(60.4%, 79.9%, 0%, 41.6%) |
| CIE-LAB | lab(23.76, 44.87, -59.83) |
| CIE-LCH | lch(23.76, 74.78, 306.87°) |
| OKLab | oklab(36.3% 0.0442 -0.1724) |
| OKLCH | oklch(36.3% 0.178 284.4) |
| XYZ | xyz(7.6911, 4.0278, 28.8001) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.89
Royal
#0C1793
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.17
Ultramarine
#2000B1
ΔE00 5.32
Royal Blue (survey)
#0504AA
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1E95 #78951E
analogous
#1E3C95 #3B1E95 #761E95
triadic
#3B1E95 #953B1E #1E953B
tetradic
#3B1E95 #951E3C #78951E #1E9576
square
#3B1E95 #951E3C #78951E #1E9576
split-complementary
#3B1E95 #95761E #3C951E
monochromatic
#13092F #271462 #3B1E95 #4F28C8 #7351DC
Accessibility & contrast
On white
11.63
#3B1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3B1E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1E95
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1E95 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#014159
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b1e95; /* rgb */ color: rgb(59, 30, 149); /* oklch */ color: oklch(36.3% 0.178 284.4);
Tailwind
colors: {
custom: {
50: '#7d5eb5',
500: '#3b1e95',
950: '#000000',
},
}SCSS
$custom: #3b1e95; $custom-light: #7d5eb5; $custom-dark: #000000;
JSON
{
"hex": "#3b1e95",
"rgb": {
"r": 59,
"g": 30,
"b": 149
},
"hsl": {
"h": 254.622,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.36299,
"c": 0.17799,
"h": 284.4
},
"luminance": 0.04028
}Semantic roles & 50–950 ramp
primary
#3B1E95
secondary
#A4BF50
accent
#E93EC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980