#3F196B#3F196B
#3F196B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.134 H 299.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F196B |
|---|---|
| RGB | rgb(63, 25, 107) |
| HSL | hsl(268, 62%, 26%) |
| HSV | hsv(268, 77%, 42%) |
| CMYK | cmyk(41.1%, 76.6%, 0%, 58%) |
| CIE-LAB | lab(19.28, 35.91, -40.56) |
| CIE-LCH | lch(19.28, 54.17, 311.52°) |
| OKLab | oklab(32.02% 0.0666 -0.1158) |
| OKLCH | oklch(32.02% 0.134 299.9) |
| XYZ | xyz(5.0507, 2.8135, 14.1840) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.26
Indigo
#4B0082
ΔE00 5.32
Indigo (survey)
#380282
ΔE00 5.73
Dark Indigo
#1F0954
ΔE00 6.43
Midnight Blue
#191970
ΔE00 6.59
Dark Royal Blue
#02066F
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F196B #456B19
analogous
#191C6B #3F196B #68196B
triadic
#3F196B #6B3F19 #196B3F
tetradic
#3F196B #6B191C #456B19 #196B68
square
#3F196B #6B191C #456B19 #196B68
split-complementary
#3F196B #6B6819 #1C6B19
monochromatic
#0F0619 #220D39 #3F196B #5C259D #7930CE
Accessibility & contrast
On white
13.44
#3F196B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#3F196B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F196B
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F196B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F196B | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#352E40
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3f196b; /* rgb */ color: rgb(63, 25, 107); /* oklch */ color: oklch(32.0% 0.134 299.9);
Tailwind
colors: {
custom: {
50: '#795a96',
500: '#3f196b',
950: '#000000',
},
}SCSS
$custom: #3f196b; $custom-light: #795a96; $custom-dark: #000000;
JSON
{
"hex": "#3f196b",
"rgb": {
"r": 63,
"g": 25,
"b": 107
},
"hsl": {
"h": 267.805,
"s": 62.121,
"l": 25.882
},
"oklch": {
"l": 0.3202,
"c": 0.13359,
"h": 299.9
},
"luminance": 0.02814
}Semantic roles & 50–950 ramp
primary
#3F196B
secondary
#73A13F
accent
#E5439A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E