#3E146F#3E146F
#3E146F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.144 H 298.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3E146F |
|---|---|
| RGB | rgb(62, 20, 111) |
| HSL | hsl(268, 69%, 26%) |
| HSV | hsv(268, 82%, 44%) |
| CMYK | cmyk(44.1%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(18.68, 39.17, -44.15) |
| CIE-LCH | lch(18.68, 59.02, 311.58°) |
| OKLab | oklab(31.68% 0.0687 -0.1263) |
| OKLCH | oklch(31.68% 0.144 298.5) |
| XYZ | xyz(5.1053, 2.6721, 15.2826) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.63
Indigo
#4B0082
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 4.36
Midnight Blue
#191970
ΔE00 6.27
Dark Indigo
#1F0954
ΔE00 6.33
Dark Royal Blue
#02066F
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E146F #456F14
analogous
#14186F #3E146F #6B146F
triadic
#3E146F #6F3E14 #146F3E
tetradic
#3E146F #6F1418 #456F14 #146F6B
square
#3E146F #6F1418 #456F14 #146F6B
split-complementary
#3E146F #6F6B14 #186F14
monochromatic
#0E051A #210B3B #3E146F #5B1DA3 #7827D7
Accessibility & contrast
On white
13.69
#3E146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3E146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E146F
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E146F | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#322D41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3e146f; /* rgb */ color: rgb(62, 20, 111); /* oklch */ color: oklch(31.7% 0.144 298.5);
Tailwind
colors: {
custom: {
50: '#795799',
500: '#3e146f',
950: '#000000',
},
}SCSS
$custom: #3e146f; $custom-light: #795799; $custom-dark: #000000;
JSON
{
"hex": "#3e146f",
"rgb": {
"r": 62,
"g": 20,
"b": 111
},
"hsl": {
"h": 267.692,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.3168,
"c": 0.14381,
"h": 298.5
},
"luminance": 0.02672
}Semantic roles & 50–950 ramp
primary
#3E146F
secondary
#74A639
accent
#EC3C9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E