#3F296F#3F296F
#3F296F is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.8% C 0.116 H 294.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3F296F |
|---|---|
| RGB | rgb(63, 41, 111) |
| HSL | hsl(259, 46%, 30%) |
| HSV | hsv(259, 63%, 44%) |
| CMYK | cmyk(43.2%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(22.97, 27.89, -37.17) |
| CIE-LCH | lch(22.97, 46.47, 306.88°) |
| OKLab | oklab(34.77% 0.0472 -0.1059) |
| OKLCH | oklch(34.77% 0.116 294) |
| XYZ | xyz(5.7113, 3.7902, 15.4665) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.81
Midnight Blue
#191970
ΔE00 7.05
Royal Purple (survey)
#4B006E
ΔE00 8.13
Indigo
#4B0082
ΔE00 8.37
Indigo (survey)
#380282
ΔE00 8.56
Dark Indigo
#1F0954
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F296F #596F29
analogous
#29366F #3F296F #62296F
triadic
#3F296F #6F3F29 #296F3F
tetradic
#3F296F #6F2936 #596F29 #296F62
square
#3F296F #6F2936 #596F29 #296F62
split-complementary
#3F296F #6F6229 #366F29
monochromatic
#0D0816 #261842 #3F296F #583A9C #7553BF
Accessibility & contrast
On white
11.95
#3F296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3F296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F296F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F296F | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#04366D
Tritanopia (blue-blind)
#323847
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f296f; /* rgb */ color: rgb(63, 41, 111); /* oklch */ color: oklch(34.8% 0.116 294.0);
Tailwind
colors: {
custom: {
50: '#786499',
500: '#3f296f',
950: '#000000',
},
}SCSS
$custom: #3f296f; $custom-light: #786499; $custom-dark: #000000;
JSON
{
"hex": "#3f296f",
"rgb": {
"r": 63,
"g": 41,
"b": 111
},
"hsl": {
"h": 258.857,
"s": 46.053,
"l": 29.804
},
"oklch": {
"l": 0.34774,
"c": 0.11593,
"h": 294
},
"luminance": 0.0379
}Semantic roles & 50–950 ramp
primary
#3F296F
secondary
#88A153
accent
#D652AC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E