#3F2196#3F2196
#3F2196 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.176 H 285.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2196 |
|---|---|
| RGB | rgb(63, 33, 150) |
| HSL | hsl(255, 64%, 36%) |
| HSV | hsv(255, 78%, 59%) |
| CMYK | cmyk(58%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(24.78, 44.21, -58.75) |
| CIE-LCH | lch(24.78, 73.53, 306.97°) |
| OKLab | oklab(37.14% 0.048 -0.1692) |
| OKLCH | oklch(37.14% 0.176 285.9) |
| XYZ | xyz(8.0971, 4.3460, 29.2604) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Royal
#0C1793
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 5.83
Indigo
#4B0082
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2196 #789621
analogous
#213D96 #3F2196 #792196
triadic
#3F2196 #963F21 #21963F
tetradic
#3F2196 #96213D #789621 #219679
square
#3F2196 #96213D #789621 #219679
split-complementary
#3F2196 #967921 #3D9621
monochromatic
#150B32 #2A1664 #3F2196 #542CC8 #7957DA
Accessibility & contrast
On white
11.23
#3F2196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3F2196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2196
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2196 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#13425B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2196; /* rgb */ color: rgb(63, 33, 150); /* oklch */ color: oklch(37.1% 0.176 285.9);
Tailwind
colors: {
custom: {
50: '#7f60b6',
500: '#3f2196',
950: '#000000',
},
}SCSS
$custom: #3f2196; $custom-light: #7f60b6; $custom-dark: #000000;
JSON
{
"hex": "#3f2196",
"rgb": {
"r": 63,
"g": 33,
"b": 150
},
"hsl": {
"h": 255.385,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.3714,
"c": 0.17586,
"h": 285.9
},
"luminance": 0.04346
}Semantic roles & 50–950 ramp
primary
#3F2196
secondary
#A3BE55
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980