#3F246C#3F246C
#3F246C is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.120 H 296.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3F246C |
|---|---|
| RGB | rgb(63, 36, 108) |
| HSL | hsl(263, 50%, 28%) |
| HSV | hsv(263, 67%, 42%) |
| CMYK | cmyk(41.7%, 66.7%, 0%, 57.6%) |
| CIE-LAB | lab(21.58, 30.06, -37.47) |
| CIE-LCH | lch(21.58, 48.04, 308.74°) |
| OKLab | oklab(33.7% 0.0537 -0.1067) |
| OKLCH | oklch(33.7% 0.12 296.7) |
| XYZ | xyz(5.3869, 3.4011, 14.5571) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.80
Royal Purple (survey)
#4B006E
ΔE00 6.80
Indigo
#4B0082
ΔE00 7.40
Indigo (survey)
#380282
ΔE00 7.70
Dark Indigo
#1F0954
ΔE00 7.77
Darkslateblue
#483D8B
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F246C #516C24
analogous
#242D6C #3F246C #63246C
triadic
#3F246C #6C3F24 #246C3F
tetradic
#3F246C #6C242D #516C24 #246C63
square
#3F246C #6C242D #516C24 #246C63
split-complementary
#3F246C #6C6324 #2D6C24
monochromatic
#0D0817 #24153E #3F246C #5A339A #7648C2
Accessibility & contrast
On white
12.50
#3F246C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3F246C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F246C
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F246C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F246C | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#343444
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f246c; /* rgb */ color: rgb(63, 36, 108); /* oklch */ color: oklch(33.7% 0.120 296.7);
Tailwind
colors: {
custom: {
50: '#786097',
500: '#3f246c',
950: '#000000',
},
}SCSS
$custom: #3f246c; $custom-light: #786097; $custom-dark: #000000;
JSON
{
"hex": "#3f246c",
"rgb": {
"r": 63,
"g": 36,
"b": 108
},
"hsl": {
"h": 262.5,
"s": 50,
"l": 28.235
},
"oklch": {
"l": 0.33695,
"c": 0.11951,
"h": 296.7
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#3F246C
secondary
#809F4D
accent
#DA4EA5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E