#3B219E#3B219E
#3B219E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.186 H 282.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3B219E |
|---|---|
| RGB | rgb(59, 33, 158) |
| HSL | hsl(252, 65%, 37%) |
| HSV | hsv(252, 79%, 62%) |
| CMYK | cmyk(62.7%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(25.22, 46.09, -62.95) |
| CIE-LCH | lch(25.22, 78.02, 306.21°) |
| OKLab | oklab(37.59% 0.0396 -0.1816) |
| OKLCH | oklch(37.59% 0.186 282.3) |
| XYZ | xyz(8.5171, 4.4855, 32.7581) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.84
Royal
#0C1793
ΔE00 4.78
Ultramarine
#2000B1
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.07
Royal Blue (survey)
#0504AA
ΔE00 5.37
Indigo (survey)
#380282
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B219E #849E21
analogous
#21469E #3B219E #7A219E
triadic
#3B219E #9E3B21 #219E3B
tetradic
#3B219E #9E2146 #849E21 #219E7A
square
#3B219E #9E2146 #849E21 #219E7A
split-complementary
#3B219E #9E7A21 #469E21
monochromatic
#150C39 #28166B #3B219E #4E2CD1 #775CDD
Accessibility & contrast
On white
11.07
#3B219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3B219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B219E
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B219E | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3b219e; /* rgb */ color: rgb(59, 33, 158); /* oklch */ color: oklch(37.6% 0.186 282.3);
Tailwind
colors: {
custom: {
50: '#7e60bc',
500: '#3b219e',
950: '#000000',
},
}SCSS
$custom: #3b219e; $custom-light: #7e60bc; $custom-dark: #000000;
JSON
{
"hex": "#3b219e",
"rgb": {
"r": 59,
"g": 33,
"b": 158
},
"hsl": {
"h": 252.48,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.37594,
"c": 0.18584,
"h": 282.3
},
"luminance": 0.04486
}Semantic roles & 50–950 ramp
primary
#3B219E
secondary
#ACC159
accent
#E83FC5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981