#3B2392#3B2392
#3B2392 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.169 H 284.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2392 |
|---|---|
| RGB | rgb(59, 35, 146) |
| HSL | hsl(253, 61%, 35%) |
| HSV | hsv(253, 76%, 57%) |
| CMYK | cmyk(59.6%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(24.34, 41.43, -57.02) |
| CIE-LCH | lch(24.34, 70.48, 306.00°) |
| OKLab | oklab(36.61% 0.0415 -0.1643) |
| OKLCH | oklch(36.61% 0.169 284.2) |
| XYZ | xyz(7.5914, 4.2067, 27.6005) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 6.00
Ultramarine
#2000B1
ΔE00 6.30
Royal Blue (survey)
#0504AA
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2392 #7A9223
analogous
#234292 #3B2392 #722392
triadic
#3B2392 #923B23 #23923B
tetradic
#3B2392 #922342 #7A9223 #239272
square
#3B2392 #922342 #7A9223 #239272
split-complementary
#3B2392 #927223 #429223
monochromatic
#130B2F #271761 #3B2392 #4F2FC3 #7458D7
Accessibility & contrast
On white
11.40
#3B2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3B2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2392
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2392 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#074259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3b2392; /* rgb */ color: rgb(59, 35, 146); /* oklch */ color: oklch(36.6% 0.169 284.2);
Tailwind
colors: {
custom: {
50: '#7c61b3',
500: '#3b2392',
950: '#000000',
},
}SCSS
$custom: #3b2392; $custom-light: #7c61b3; $custom-dark: #000000;
JSON
{
"hex": "#3b2392",
"rgb": {
"r": 59,
"g": 35,
"b": 146
},
"hsl": {
"h": 252.973,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.36613,
"c": 0.16943,
"h": 284.2
},
"luminance": 0.04207
}Semantic roles & 50–950 ramp
primary
#3B2392
secondary
#A5BB55
accent
#E443C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980