#3B1990#3B1990
#3B1990 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.177 H 286.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1990 |
|---|---|
| RGB | rgb(59, 25, 144) |
| HSL | hsl(257, 70%, 33%) |
| HSV | hsv(257, 83%, 56%) |
| CMYK | cmyk(59%, 82.6%, 0%, 43.5%) |
| CIE-LAB | lab(22.44, 45.72, -58.92) |
| CIE-LCH | lch(22.44, 74.58, 307.81°) |
| OKLab | oklab(35.22% 0.0489 -0.1697) |
| OKLCH | oklch(35.22% 0.177 286.1) |
| XYZ | xyz(7.1838, 3.6383, 26.7039) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.75
Royal
#0C1793
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.56
Indigo
#4B0082
ΔE00 4.74
Cobalt Blue
#030AA7
ΔE00 5.17
Ultramarine
#2000B1
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1990 #6E9019
analogous
#193290 #3B1990 #761990
triadic
#3B1990 #903B19 #19903B
tetradic
#3B1990 #901932 #6E9019 #199076
square
#3B1990 #901932 #6E9019 #199076
split-complementary
#3B1990 #907619 #329019
monochromatic
#100728 #26105C #3B1990 #5022C4 #7145DF
Accessibility & contrast
On white
12.15
#3B1990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3B1990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1990
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1990 | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#0E3D55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3b1990; /* rgb */ color: rgb(59, 25, 144); /* oklch */ color: oklch(35.2% 0.177 286.1);
Tailwind
colors: {
custom: {
50: '#7c5bb2',
500: '#3b1990',
950: '#000000',
},
}SCSS
$custom: #3b1990; $custom-light: #7c5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3b1990",
"rgb": {
"r": 59,
"g": 25,
"b": 144
},
"hsl": {
"h": 257.143,
"s": 70.414,
"l": 33.137
},
"oklch": {
"l": 0.35221,
"c": 0.17663,
"h": 286.1
},
"luminance": 0.03639
}Semantic roles & 50–950 ramp
primary
#3B1990
secondary
#9DC045
accent
#ED3BBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980