#3B2092#3B2092
#3B2092 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 284.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2092 |
|---|---|
| RGB | rgb(59, 32, 146) |
| HSL | hsl(254, 64%, 35%) |
| HSV | hsv(254, 78%, 57%) |
| CMYK | cmyk(59.6%, 78.1%, 0%, 42.7%) |
| CIE-LAB | lab(23.80, 42.99, -57.92) |
| CIE-LCH | lch(23.80, 72.13, 306.59°) |
| OKLab | oklab(36.23% 0.0437 -0.1669) |
| OKLCH | oklch(36.23% 0.173 284.7) |
| XYZ | xyz(7.5069, 4.0377, 27.5723) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.42
Royal
#0C1793
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.61
Indigo
#4B0082
ΔE00 5.86
Ultramarine
#2000B1
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2092 #779220
analogous
#203E92 #3B2092 #742092
triadic
#3B2092 #923B20 #20923B
tetradic
#3B2092 #92203E #779220 #209274
square
#3B2092 #92203E #779220 #209274
split-complementary
#3B2092 #927420 #3E9220
monochromatic
#120A2E #271560 #3B2092 #4F2BC4 #7353D9
Accessibility & contrast
On white
11.62
#3B2092 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3B2092 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2092
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2092 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2092 | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 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: #3b2092; /* rgb */ color: rgb(59, 32, 146); /* oklch */ color: oklch(36.2% 0.172 284.7);
Tailwind
colors: {
custom: {
50: '#7c5fb3',
500: '#3b2092',
950: '#000000',
},
}SCSS
$custom: #3b2092; $custom-light: #7c5fb3; $custom-dark: #000000;
JSON
{
"hex": "#3b2092",
"rgb": {
"r": 59,
"g": 32,
"b": 146
},
"hsl": {
"h": 254.211,
"s": 64.045,
"l": 34.902
},
"oklch": {
"l": 0.36229,
"c": 0.1725,
"h": 284.7
},
"luminance": 0.04038
}Semantic roles & 50–950 ramp
primary
#3B2092
secondary
#A3BD51
accent
#E741C0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980