#3F146F#3F146F
#3F146F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.144 H 299.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F146F |
|---|---|
| RGB | rgb(63, 20, 111) |
| HSL | hsl(268, 69%, 26%) |
| HSV | hsv(268, 82%, 44%) |
| CMYK | cmyk(43.2%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(18.82, 39.34, -43.91) |
| CIE-LCH | lch(18.82, 58.96, 311.86°) |
| OKLab | oklab(31.81% 0.0703 -0.1256) |
| OKLCH | oklch(31.81% 0.144 299.2) |
| XYZ | xyz(5.1686, 2.7047, 15.2856) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.48
Indigo
#4B0082
ΔE00 4.11
Indigo (survey)
#380282
ΔE00 4.44
Midnight Blue
#191970
ΔE00 6.46
Dark Indigo
#1F0954
ΔE00 6.46
Dark Royal Blue
#02066F
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F146F #446F14
analogous
#14166F #3F146F #6C146F
triadic
#3F146F #6F3F14 #146F3F
tetradic
#3F146F #6F1416 #446F14 #146F6C
square
#3F146F #6F1416 #446F14 #146F6C
split-complementary
#3F146F #6F6C14 #166F14
monochromatic
#0F051A #220B3B #3F146F #5C1DA3 #7A27D7
Accessibility & contrast
On white
13.63
#3F146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3F146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F146F
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F146F | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#332D41
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3f146f; /* rgb */ color: rgb(63, 20, 111); /* oklch */ color: oklch(31.8% 0.144 299.2);
Tailwind
colors: {
custom: {
50: '#7a5799',
500: '#3f146f',
950: '#000000',
},
}SCSS
$custom: #3f146f; $custom-light: #7a5799; $custom-dark: #000000;
JSON
{
"hex": "#3f146f",
"rgb": {
"r": 63,
"g": 20,
"b": 111
},
"hsl": {
"h": 268.352,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.31809,
"c": 0.14395,
"h": 299.2
},
"luminance": 0.02705
}Semantic roles & 50–950 ramp
primary
#3F146F
secondary
#72A639
accent
#EC3C99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E