#3B199E#3B199E
#3B199E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.193 H 283.2°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3B199E |
|---|---|
| RGB | rgb(59, 25, 158) |
| HSL | hsl(255, 73%, 36%) |
| HSV | hsv(255, 84%, 62%) |
| CMYK | cmyk(62.7%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(23.98, 49.70, -65.00) |
| CIE-LCH | lch(23.98, 81.82, 307.40°) |
| OKLab | oklab(36.74% 0.044 -0.1874) |
| OKLCH | oklch(36.74% 0.193 283.2) |
| XYZ | xyz(8.3209, 4.0931, 32.6927) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.55
Ultramarine
#2000B1
ΔE00 3.99
Cobalt Blue
#030AA7
ΔE00 4.27
Royal Blue (survey)
#0504AA
ΔE00 4.46
Royal
#0C1793
ΔE00 4.49
Indigo (survey)
#380282
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B199E #7C9E19
analogous
#193A9E #3B199E #7D199E
triadic
#3B199E #9E3B19 #199E3B
tetradic
#3B199E #9E193A #7C9E19 #199E7D
square
#3B199E #9E193A #7C9E19 #199E7D
split-complementary
#3B199E #9E7D19 #3A9E19
monochromatic
#140834 #271169 #3B199E #4F21D3 #744EE3
Accessibility & contrast
On white
11.55
#3B199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3B199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B199E
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B199E | 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)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b199e; /* rgb */ color: rgb(59, 25, 158); /* oklch */ color: oklch(36.7% 0.193 283.2);
Tailwind
colors: {
custom: {
50: '#7f5cbc',
500: '#3b199e',
950: '#000000',
},
}SCSS
$custom: #3b199e; $custom-light: #7f5cbc; $custom-dark: #000000;
JSON
{
"hex": "#3b199e",
"rgb": {
"r": 59,
"g": 25,
"b": 158
},
"hsl": {
"h": 255.338,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.36737,
"c": 0.19253,
"h": 283.2
},
"luminance": 0.04094
}Semantic roles & 50–950 ramp
primary
#3B199E
secondary
#A7C54E
accent
#EF38C1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981