#3B2291#3B2291
#3B2291 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.169 H 284.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2291 |
|---|---|
| RGB | rgb(59, 34, 145) |
| HSL | hsl(254, 62%, 35%) |
| HSV | hsv(254, 77%, 57%) |
| CMYK | cmyk(59.3%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(24.06, 41.66, -56.87) |
| CIE-LCH | lch(24.06, 70.49, 306.22°) |
| OKLab | oklab(36.38% 0.0425 -0.1638) |
| OKLCH | oklch(36.38% 0.169 284.5) |
| XYZ | xyz(7.4849, 4.1177, 27.1830) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.69
Royal
#0C1793
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 5.41
Cobalt Blue
#030AA7
ΔE00 5.95
Indigo
#4B0082
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2291 #789122
analogous
#224091 #3B2291 #732291
triadic
#3B2291 #913B22 #22913B
tetradic
#3B2291 #912240 #789122 #229173
square
#3B2291 #912240 #789122 #229173
split-complementary
#3B2291 #917322 #409122
monochromatic
#130B2E #27165F #3B2291 #4F2EC3 #7356D7
Accessibility & contrast
On white
11.52
#3B2291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3B2291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2291
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2291 | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0A4158
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b2291; /* rgb */ color: rgb(59, 34, 145); /* oklch */ color: oklch(36.4% 0.169 284.5);
Tailwind
colors: {
custom: {
50: '#7c60b2',
500: '#3b2291',
950: '#000000',
},
}SCSS
$custom: #3b2291; $custom-light: #7c60b2; $custom-dark: #000000;
JSON
{
"hex": "#3b2291",
"rgb": {
"r": 59,
"g": 34,
"b": 145
},
"hsl": {
"h": 253.514,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.36381,
"c": 0.16926,
"h": 284.5
},
"luminance": 0.04118
}Semantic roles & 50–950 ramp
primary
#3B2291
secondary
#A4BB53
accent
#E543C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980