#3F197F#3F197F
#3F197F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.157 H 292.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3F197F |
|---|---|
| RGB | rgb(63, 25, 127) |
| HSL | hsl(262, 67%, 30%) |
| HSV | hsv(262, 80%, 50%) |
| CMYK | cmyk(50.4%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(21.15, 41.45, -50.36) |
| CIE-LCH | lch(21.15, 65.22, 309.46°) |
| OKLab | oklab(33.91% 0.0611 -0.1446) |
| OKLCH | oklch(33.91% 0.157 292.9) |
| XYZ | xyz(6.2272, 3.2841, 20.3803) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.40
Indigo
#4B0082
ΔE00 3.66
Royal Purple (survey)
#4B006E
ΔE00 5.33
Midnight Blue
#191970
ΔE00 5.93
Royal
#0C1793
ΔE00 6.21
Darkblue
#00008B
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F197F #597F19
analogous
#19267F #3F197F #72197F
triadic
#3F197F #7F3F19 #197F3F
tetradic
#3F197F #7F1926 #597F19 #197F72
square
#3F197F #7F1926 #597F19 #197F72
split-complementary
#3F197F #7F7219 #267F19
monochromatic
#0D051A #260F4C #3F197F #5823B2 #753AD8
Accessibility & contrast
On white
12.68
#3F197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3F197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F197F
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F197F | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#2B364C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3f197f; /* rgb */ color: rgb(63, 25, 127); /* oklch */ color: oklch(33.9% 0.157 292.9);
Tailwind
colors: {
custom: {
50: '#7c5ba5',
500: '#3f197f',
950: '#000000',
},
}SCSS
$custom: #3f197f; $custom-light: #7c5ba5; $custom-dark: #000000;
JSON
{
"hex": "#3f197f",
"rgb": {
"r": 63,
"g": 25,
"b": 127
},
"hsl": {
"h": 262.353,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.33905,
"c": 0.15694,
"h": 292.9
},
"luminance": 0.03284
}Semantic roles & 50–950 ramp
primary
#3F197F
secondary
#88B341
accent
#EA3EAA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F