#3F197C#3F197C
#3F197C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.153 H 293.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3F197C |
|---|---|
| RGB | rgb(63, 25, 124) |
| HSL | hsl(263, 66%, 29%) |
| HSV | hsv(263, 80%, 49%) |
| CMYK | cmyk(49.2%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(20.85, 40.61, -48.93) |
| CIE-LCH | lch(20.85, 63.59, 309.69°) |
| OKLab | oklab(33.61% 0.0621 -0.1404) |
| OKLCH | oklch(33.61% 0.153 293.8) |
| XYZ | xyz(6.0346, 3.2071, 19.3659) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.58
Indigo
#4B0082
ΔE00 3.73
Royal Purple (survey)
#4B006E
ΔE00 5.04
Midnight Blue
#191970
ΔE00 5.87
Royal
#0C1793
ΔE00 6.56
Darkblue
#00008B
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F197C #567C19
analogous
#19257C #3F197C #71197C
triadic
#3F197C #7C3F19 #197C3F
tetradic
#3F197C #7C1925 #567C19 #197C71
square
#3F197C #7C1925 #567C19 #197C71
split-complementary
#3F197C #7C7119 #257C19
monochromatic
#0D0519 #250F49 #3F197C #5923AF #7538D7
Accessibility & contrast
On white
12.79
#3F197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3F197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F197C
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F197C | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#2C344A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3f197c; /* rgb */ color: rgb(63, 25, 124); /* oklch */ color: oklch(33.6% 0.153 293.8);
Tailwind
colors: {
custom: {
50: '#7b5ba3',
500: '#3f197c',
950: '#000000',
},
}SCSS
$custom: #3f197c; $custom-light: #7b5ba3; $custom-dark: #000000;
JSON
{
"hex": "#3f197c",
"rgb": {
"r": 63,
"g": 25,
"b": 124
},
"hsl": {
"h": 263.03,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.33612,
"c": 0.15347,
"h": 293.8
},
"luminance": 0.03207
}Semantic roles & 50–950 ramp
primary
#3F197C
secondary
#85B040
accent
#E93EA8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F