#3B2292#3B2292
#3B2292 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.170 H 284.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2292 |
|---|---|
| RGB | rgb(59, 34, 146) |
| HSL | hsl(253, 62%, 35%) |
| HSV | hsv(253, 77%, 57%) |
| CMYK | cmyk(59.6%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.16, 41.96, -57.32) |
| CIE-LCH | lch(24.16, 71.04, 306.20°) |
| OKLab | oklab(36.48% 0.0423 -0.1651) |
| OKLCH | oklch(36.48% 0.17 284.4) |
| XYZ | xyz(7.5624, 4.1487, 27.5908) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.55
Royal
#0C1793
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 5.86
Ultramarine
#2000B1
ΔE00 6.16
Indigo
#4B0082
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2292 #799222
analogous
#224192 #3B2292 #732292
triadic
#3B2292 #923B22 #22923B
tetradic
#3B2292 #922241 #799222 #229273
square
#3B2292 #922241 #799222 #229273
split-complementary
#3B2292 #927322 #419222
monochromatic
#130B2F #271660 #3B2292 #4F2EC4 #7357D8
Accessibility & contrast
On white
11.48
#3B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3B2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2292
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2292 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#084258
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b2292; /* rgb */ color: rgb(59, 34, 146); /* oklch */ color: oklch(36.5% 0.170 284.4);
Tailwind
colors: {
custom: {
50: '#7c60b3',
500: '#3b2292',
950: '#000000',
},
}SCSS
$custom: #3b2292; $custom-light: #7c60b3; $custom-dark: #000000;
JSON
{
"hex": "#3b2292",
"rgb": {
"r": 59,
"g": 34,
"b": 146
},
"hsl": {
"h": 253.393,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.36482,
"c": 0.17047,
"h": 284.4
},
"luminance": 0.04149
}Semantic roles & 50–950 ramp
primary
#3B2292
secondary
#A5BC54
accent
#E543C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980