#3F197B#3F197B
#3F197B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.152 H 294.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3F197B |
|---|---|
| RGB | rgb(63, 25, 123) |
| HSL | hsl(263, 66%, 29%) |
| HSV | hsv(263, 80%, 48%) |
| CMYK | cmyk(48.8%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(20.76, 40.33, -48.45) |
| CIE-LCH | lch(20.76, 63.04, 309.77°) |
| OKLab | oklab(33.52% 0.0624 -0.139) |
| OKLCH | oklch(33.52% 0.152 294.2) |
| XYZ | xyz(5.9717, 3.1819, 19.0346) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.66
Indigo
#4B0082
ΔE00 3.77
Royal Purple (survey)
#4B006E
ΔE00 4.95
Midnight Blue
#191970
ΔE00 5.87
Royal
#0C1793
ΔE00 6.69
Navy
#000080
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F197B #557B19
analogous
#19247B #3F197B #70197B
triadic
#3F197B #7B3F19 #197B3F
tetradic
#3F197B #7B1924 #557B19 #197B70
square
#3F197B #7B1924 #557B19 #197B70
split-complementary
#3F197B #7B7019 #247B19
monochromatic
#0D0519 #250F48 #3F197B #5923AE #7538D7
Accessibility & contrast
On white
12.83
#3F197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3F197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F197B
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F197B | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#2D3449
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3f197b; /* rgb */ color: rgb(63, 25, 123); /* oklch */ color: oklch(33.5% 0.152 294.2);
Tailwind
colors: {
custom: {
50: '#7b5aa2',
500: '#3f197b',
950: '#000000',
},
}SCSS
$custom: #3f197b; $custom-light: #7b5aa2; $custom-dark: #000000;
JSON
{
"hex": "#3f197b",
"rgb": {
"r": 63,
"g": 25,
"b": 123
},
"hsl": {
"h": 263.265,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.33515,
"c": 0.15232,
"h": 294.2
},
"luminance": 0.03182
}Semantic roles & 50–950 ramp
primary
#3F197B
secondary
#84AF40
accent
#E93FA7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F