#3F2997#3F2997
#3F2997 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.169 H 284.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2997 |
|---|---|
| RGB | rgb(63, 41, 151) |
| HSL | hsl(252, 57%, 38%) |
| HSV | hsv(252, 73%, 59%) |
| CMYK | cmyk(58.3%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(26.38, 40.28, -56.74) |
| CIE-LCH | lch(26.38, 69.58, 305.37°) |
| OKLab | oklab(38.3% 0.0416 -0.1634) |
| OKLCH | oklch(38.3% 0.169 284.3) |
| XYZ | xyz(8.4270, 4.8765, 29.7694) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.70
Royal
#0C1793
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.32
Sapphire (survey)
#2138AB
ΔE00 6.39
Blueberry
#464196
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2997 #819729
analogous
#294A97 #3F2997 #762997
triadic
#3F2997 #973F29 #29973F
tetradic
#3F2997 #97294A #819729 #299776
square
#3F2997 #97294A #819729 #299776
split-complementary
#3F2997 #977629 #4A9729
monochromatic
#170F37 #2B1C67 #3F2997 #5336C7 #7C65D5
Accessibility & contrast
On white
10.63
#3F2997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3F2997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2997
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2997 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#10475D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f2997; /* rgb */ color: rgb(63, 41, 151); /* oklch */ color: oklch(38.3% 0.169 284.3);
Tailwind
colors: {
custom: {
50: '#7e65b7',
500: '#3f2997',
950: '#000000',
},
}SCSS
$custom: #3f2997; $custom-light: #7e65b7; $custom-dark: #000000;
JSON
{
"hex": "#3f2997",
"rgb": {
"r": 63,
"g": 41,
"b": 151
},
"hsl": {
"h": 252,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.38296,
"c": 0.16857,
"h": 284.3
},
"luminance": 0.04877
}Semantic roles & 50–950 ramp
primary
#3F2997
secondary
#A9BB61
accent
#E147C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80