#3B1693#3B1693
#3B1693 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.182 H 285.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1693 |
|---|---|
| RGB | rgb(59, 22, 147) |
| HSL | hsl(258, 74%, 33%) |
| HSV | hsv(258, 85%, 58%) |
| CMYK | cmyk(59.9%, 85%, 0%, 42.4%) |
| CIE-LAB | lab(22.34, 47.83, -60.94) |
| CIE-LCH | lch(22.34, 77.47, 308.12°) |
| OKLab | oklab(35.25% 0.0496 -0.1756) |
| OKLCH | oklch(35.25% 0.182 285.8) |
| XYZ | xyz(7.3554, 3.6098, 27.9073) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 4.17
Royal
#0C1793
ΔE00 4.31
Indigo
#4B0082
ΔE00 4.68
Cobalt Blue
#030AA7
ΔE00 4.74
Ultramarine
#2000B1
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1693 #6E9316
analogous
#162F93 #3B1693 #791693
triadic
#3B1693 #933B16 #16933B
tetradic
#3B1693 #93162F #6E9316 #169379
square
#3B1693 #93162F #6E9316 #169379
split-complementary
#3B1693 #937916 #2F9316
monochromatic
#100629 #260E5E #3B1693 #501EC8 #7141E3
Accessibility & contrast
On white
12.20
#3B1693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3B1693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1693
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1693 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#073D57
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3b1693; /* rgb */ color: rgb(59, 22, 147); /* oklch */ color: oklch(35.2% 0.182 285.8);
Tailwind
colors: {
custom: {
50: '#7d5ab4',
500: '#3b1693',
950: '#000000',
},
}SCSS
$custom: #3b1693; $custom-light: #7d5ab4; $custom-dark: #000000;
JSON
{
"hex": "#3b1693",
"rgb": {
"r": 59,
"g": 22,
"b": 147
},
"hsl": {
"h": 257.76,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.35249,
"c": 0.18244,
"h": 285.8
},
"luminance": 0.0361
}Semantic roles & 50–950 ramp
primary
#3B1693
secondary
#9DC342
accent
#F137BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980