#3B2296#3B2296
#3B2296 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.175 H 283.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2296 |
|---|---|
| RGB | rgb(59, 34, 150) |
| HSL | hsl(253, 63%, 36%) |
| HSV | hsv(253, 77%, 59%) |
| CMYK | cmyk(60.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.56, 43.18, -59.13) |
| CIE-LCH | lch(24.56, 73.21, 306.14°) |
| OKLab | oklab(36.89% 0.0412 -0.1704) |
| OKLCH | oklch(36.89% 0.175 283.6) |
| XYZ | xyz(7.8790, 4.2753, 29.2583) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Royal
#0C1793
ΔE00 4.65
Cobalt Blue
#030AA7
ΔE00 5.57
Indigo (survey)
#380282
ΔE00 5.72
Ultramarine
#2000B1
ΔE00 5.76
Royal Blue (survey)
#0504AA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2296 #7D9622
analogous
#224396 #3B2296 #752296
triadic
#3B2296 #963B22 #22963B
tetradic
#3B2296 #962243 #7D9622 #229675
square
#3B2296 #962243 #7D9622 #229675
split-complementary
#3B2296 #967522 #439622
monochromatic
#140B32 #271764 #3B2296 #4F2DC8 #7559D9
Accessibility & contrast
On white
11.32
#3B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3B2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2296
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2296 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3b2296; /* rgb */ color: rgb(59, 34, 150); /* oklch */ color: oklch(36.9% 0.175 283.6);
Tailwind
colors: {
custom: {
50: '#7d61b6',
500: '#3b2296',
950: '#000000',
},
}SCSS
$custom: #3b2296; $custom-light: #7d61b6; $custom-dark: #000000;
JSON
{
"hex": "#3b2296",
"rgb": {
"r": 59,
"g": 34,
"b": 150
},
"hsl": {
"h": 252.931,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.36888,
"c": 0.17532,
"h": 283.6
},
"luminance": 0.04276
}Semantic roles & 50–950 ramp
primary
#3B2296
secondary
#A7BE56
accent
#E642C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980