#3B1992#3B1992
#3B1992 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.179 H 285.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1992 |
|---|---|
| RGB | rgb(59, 25, 146) |
| HSL | hsl(257, 71%, 34%) |
| HSV | hsv(257, 83%, 57%) |
| CMYK | cmyk(59.6%, 82.9%, 0%, 42.7%) |
| CIE-LAB | lab(22.65, 46.29, -59.80) |
| CIE-LCH | lch(22.65, 75.63, 307.74°) |
| OKLab | oklab(35.44% 0.0483 -0.1723) |
| OKLCH | oklch(35.44% 0.179 285.6) |
| XYZ | xyz(7.3380, 3.6999, 27.5160) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.27
Royal
#0C1793
ΔE00 4.30
Indigo
#4B0082
ΔE00 4.90
Cobalt Blue
#030AA7
ΔE00 4.99
Ultramarine
#2000B1
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1992 #709219
analogous
#193392 #3B1992 #771992
triadic
#3B1992 #923B19 #19923B
tetradic
#3B1992 #921933 #709219 #199277
square
#3B1992 #921933 #709219 #199277
split-complementary
#3B1992 #927719 #339219
monochromatic
#110729 #26105E #3B1992 #5022C6 #7146DF
Accessibility & contrast
On white
12.07
#3B1992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3B1992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1992
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1992 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#093E57
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3b1992; /* rgb */ color: rgb(59, 25, 146); /* oklch */ color: oklch(35.4% 0.179 285.6);
Tailwind
colors: {
custom: {
50: '#7d5cb3',
500: '#3b1992',
950: '#000000',
},
}SCSS
$custom: #3b1992; $custom-light: #7d5cb3; $custom-dark: #000000;
JSON
{
"hex": "#3b1992",
"rgb": {
"r": 59,
"g": 25,
"b": 146
},
"hsl": {
"h": 256.86,
"s": 70.76,
"l": 33.529
},
"oklch": {
"l": 0.35435,
"c": 0.17892,
"h": 285.6
},
"luminance": 0.037
}Semantic roles & 50–950 ramp
primary
#3B1992
secondary
#9EC146
accent
#EE3ABB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980