#3B2192#3B2192
#3B2192 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.171 H 284.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2192 |
|---|---|
| RGB | rgb(59, 33, 146) |
| HSL | hsl(254, 63%, 35%) |
| HSV | hsv(254, 77%, 57%) |
| CMYK | cmyk(59.6%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(23.97, 42.48, -57.62) |
| CIE-LCH | lch(23.97, 71.59, 306.40°) |
| OKLab | oklab(36.35% 0.043 -0.166) |
| OKLCH | oklch(36.35% 0.171 284.5) |
| XYZ | xyz(7.5342, 4.0924, 27.5815) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.48
Royal
#0C1793
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 6.01
Indigo
#4B0082
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2192 #789221
analogous
#214092 #3B2192 #732192
triadic
#3B2192 #923B21 #21923B
tetradic
#3B2192 #922140 #789221 #219273
square
#3B2192 #922140 #789221 #219273
split-complementary
#3B2192 #927321 #409221
monochromatic
#130A2E #271660 #3B2192 #4F2CC4 #7355D9
Accessibility & contrast
On white
11.55
#3B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3B2192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2192
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2192 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#084158
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b2192; /* rgb */ color: rgb(59, 33, 146); /* oklch */ color: oklch(36.4% 0.171 284.5);
Tailwind
colors: {
custom: {
50: '#7c60b3',
500: '#3b2192',
950: '#000000',
},
}SCSS
$custom: #3b2192; $custom-light: #7c60b3; $custom-dark: #000000;
JSON
{
"hex": "#3b2192",
"rgb": {
"r": 59,
"g": 33,
"b": 146
},
"hsl": {
"h": 253.805,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.36354,
"c": 0.17149,
"h": 284.5
},
"luminance": 0.04093
}Semantic roles & 50–950 ramp
primary
#3B2192
secondary
#A4BC53
accent
#E642C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980