#3F246E#3F246E
#3F246E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.122 H 296.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3F246E |
|---|---|
| RGB | rgb(63, 36, 110) |
| HSL | hsl(262, 51%, 29%) |
| HSV | hsv(262, 67%, 43%) |
| CMYK | cmyk(42.7%, 67.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.74, 30.65, -38.51) |
| CIE-LCH | lch(21.74, 49.22, 308.52°) |
| OKLab | oklab(33.86% 0.0536 -0.1098) |
| OKLCH | oklch(33.86% 0.122 296) |
| XYZ | xyz(5.4945, 3.4442, 15.1241) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.58
Royal Purple (survey)
#4B006E
ΔE00 6.74
Indigo
#4B0082
ΔE00 7.15
Indigo (survey)
#380282
ΔE00 7.41
Dark Indigo
#1F0954
ΔE00 7.83
Darkslateblue
#483D8B
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F246E #536E24
analogous
#242E6E #3F246E #64246E
triadic
#3F246E #6E3F24 #246E3F
tetradic
#3F246E #6E242E #536E24 #246E64
square
#3F246E #6E242E #536E24 #246E64
split-complementary
#3F246E #6E6424 #2E6E24
monochromatic
#0D0817 #251540 #3F246E #59339C #7649C3
Accessibility & contrast
On white
12.43
#3F246E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#3F246E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F246E
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F246E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F246E | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#333545
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f246e; /* rgb */ color: rgb(63, 36, 110); /* oklch */ color: oklch(33.9% 0.122 296.0);
Tailwind
colors: {
custom: {
50: '#786098',
500: '#3f246e',
950: '#000000',
},
}SCSS
$custom: #3f246e; $custom-light: #786098; $custom-dark: #000000;
JSON
{
"hex": "#3f246e",
"rgb": {
"r": 63,
"g": 36,
"b": 110
},
"hsl": {
"h": 261.892,
"s": 50.685,
"l": 28.627
},
"oklch": {
"l": 0.33859,
"c": 0.12217,
"h": 296
},
"luminance": 0.03444
}Semantic roles & 50–950 ramp
primary
#3F246E
secondary
#82A14D
accent
#DA4EA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E