#3F116F#3F116F
#3F116F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.147 H 299.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3F116F |
|---|---|
| RGB | rgb(63, 17, 111) |
| HSL | hsl(269, 73%, 25%) |
| HSV | hsv(269, 85%, 44%) |
| CMYK | cmyk(43.2%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(18.39, 40.60, -44.62) |
| CIE-LCH | lch(18.39, 60.32, 312.30°) |
| OKLab | oklab(31.51% 0.0728 -0.1277) |
| OKLCH | oklch(31.51% 0.147 299.7) |
| XYZ | xyz(5.1189, 2.6053, 15.2690) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.12
Indigo
#4B0082
ΔE00 3.82
Indigo (survey)
#380282
ΔE00 4.15
Dark Indigo
#1F0954
ΔE00 6.41
Midnight Blue
#191970
ΔE00 6.62
Deep Blue
#040273
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F116F #416F11
analogous
#11126F #3F116F #6E116F
triadic
#3F116F #6F3F11 #116F3F
tetradic
#3F116F #6F1112 #416F11 #116F6E
square
#3F116F #6F1112 #416F11 #116F6E
split-complementary
#3F116F #6F6E11 #126F11
monochromatic
#0F041B #21093A #3F116F #5D19A4 #7B21D9
Accessibility & contrast
On white
13.81
#3F116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3F116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F116F
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F116F | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#332C41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3f116f; /* rgb */ color: rgb(63, 17, 111); /* oklch */ color: oklch(31.5% 0.147 299.7);
Tailwind
colors: {
custom: {
50: '#7a5699',
500: '#3f116f',
950: '#000000',
},
}SCSS
$custom: #3f116f; $custom-light: #7a5699; $custom-dark: #000000;
JSON
{
"hex": "#3f116f",
"rgb": {
"r": 63,
"g": 17,
"b": 111
},
"hsl": {
"h": 269.362,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.31509,
"c": 0.14696,
"h": 299.7
},
"luminance": 0.02605
}Semantic roles & 50–950 ramp
primary
#3F116F
secondary
#6FA635
accent
#F03896
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E