#3F246F#3F246F
#3F246F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.9% C 0.123 H 295.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3F246F |
|---|---|
| RGB | rgb(63, 36, 111) |
| HSL | hsl(262, 51%, 29%) |
| HSV | hsv(262, 68%, 44%) |
| CMYK | cmyk(43.2%, 67.6%, 0%, 56.5%) |
| CIE-LAB | lab(21.82, 30.95, -39.02) |
| CIE-LCH | lch(21.82, 49.80, 308.42°) |
| OKLab | oklab(33.94% 0.0534 -0.1113) |
| OKLCH | oklch(33.94% 0.123 295.6) |
| XYZ | xyz(5.5493, 3.4661, 15.4125) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.49
Royal Purple (survey)
#4B006E
ΔE00 6.72
Indigo
#4B0082
ΔE00 7.04
Indigo (survey)
#380282
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.81
Dark Indigo
#1F0954
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F246F #546F24
analogous
#242F6F #3F246F #65246F
triadic
#3F246F #6F3F24 #246F3F
tetradic
#3F246F #6F242F #546F24 #246F65
square
#3F246F #6F242F #546F24 #246F65
split-complementary
#3F246F #6F6524 #2F6F24
monochromatic
#0D0717 #251541 #3F246F #59339D #7649C4
Accessibility & contrast
On white
12.40
#3F246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#3F246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F246F
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F246F | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#333546
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3f246f; /* rgb */ color: rgb(63, 36, 111); /* oklch */ color: oklch(33.9% 0.123 295.6);
Tailwind
colors: {
custom: {
50: '#786099',
500: '#3f246f',
950: '#000000',
},
}SCSS
$custom: #3f246f; $custom-light: #786099; $custom-dark: #000000;
JSON
{
"hex": "#3f246f",
"rgb": {
"r": 63,
"g": 36,
"b": 111
},
"hsl": {
"h": 261.6,
"s": 51.02,
"l": 28.824
},
"oklch": {
"l": 0.33942,
"c": 0.12349,
"h": 295.6
},
"luminance": 0.03466
}Semantic roles & 50–950 ramp
primary
#3F246F
secondary
#83A24D
accent
#DA4DA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E