#3E1879#3E1879
#3E1879 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.151 H 294.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1879 |
|---|---|
| RGB | rgb(62, 24, 121) |
| HSL | hsl(264, 67%, 28%) |
| HSV | hsv(264, 80%, 47%) |
| CMYK | cmyk(48.8%, 80.2%, 0%, 52.5%) |
| CIE-LAB | lab(20.27, 40.08, -47.98) |
| CIE-LCH | lch(20.27, 62.52, 309.88°) |
| OKLab | oklab(33.09% 0.0622 -0.1376) |
| OKLCH | oklch(33.09% 0.151 294.3) |
| XYZ | xyz(5.7635, 3.0577, 18.3720) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.61
Indigo
#4B0082
ΔE00 3.80
Royal Purple (survey)
#4B006E
ΔE00 4.77
Midnight Blue
#191970
ΔE00 5.73
Royal
#0C1793
ΔE00 6.79
Deep Blue
#040273
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1879 #537918
analogous
#182279 #3E1879 #6E1879
triadic
#3E1879 #793E18 #18793E
tetradic
#3E1879 #791822 #537918 #18796E
square
#3E1879 #791822 #537918 #18796E
split-complementary
#3E1879 #796E18 #227918
monochromatic
#0D051A #240E46 #3E1879 #5822AC #7435D7
Accessibility & contrast
On white
13.03
#3E1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3E1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1879
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1879 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2C3348
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e1879; /* rgb */ color: rgb(62, 24, 121); /* oklch */ color: oklch(33.1% 0.151 294.3);
Tailwind
colors: {
custom: {
50: '#7a5aa1',
500: '#3e1879',
950: '#000000',
},
}SCSS
$custom: #3e1879; $custom-light: #7a5aa1; $custom-dark: #000000;
JSON
{
"hex": "#3e1879",
"rgb": {
"r": 62,
"g": 24,
"b": 121
},
"hsl": {
"h": 263.505,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.33088,
"c": 0.151,
"h": 294.3
},
"luminance": 0.03058
}Semantic roles & 50–950 ramp
primary
#3E1879
secondary
#82AE3F
accent
#EA3EA6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F