#3E1779#3E1779
#3E1779 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.152 H 294.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1779 |
|---|---|
| RGB | rgb(62, 23, 121) |
| HSL | hsl(264, 68%, 28%) |
| HSV | hsv(264, 81%, 47%) |
| CMYK | cmyk(48.8%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(20.11, 40.55, -48.24) |
| CIE-LCH | lch(20.11, 63.02, 310.05°) |
| OKLab | oklab(32.98% 0.063 -0.1384) |
| OKLCH | oklch(32.98% 0.152 294.5) |
| XYZ | xyz(5.7432, 3.0172, 18.3652) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.44
Indigo
#4B0082
ΔE00 3.65
Royal Purple (survey)
#4B006E
ΔE00 4.65
Midnight Blue
#191970
ΔE00 5.78
Royal
#0C1793
ΔE00 6.79
Deep Blue
#040273
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1779 #527917
analogous
#172179 #3E1779 #6F1779
triadic
#3E1779 #793E17 #17793E
tetradic
#3E1779 #791721 #527917 #17796F
square
#3E1779 #791721 #527917 #17796F
split-complementary
#3E1779 #796F17 #217917
monochromatic
#0D051A #240D46 #3E1779 #5821AC #7432D8
Accessibility & contrast
On white
13.10
#3E1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3E1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1779
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1779 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2C3248
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e1779; /* rgb */ color: rgb(62, 23, 121); /* oklch */ color: oklch(33.0% 0.152 294.5);
Tailwind
colors: {
custom: {
50: '#7a59a1',
500: '#3e1779',
950: '#000000',
},
}SCSS
$custom: #3e1779; $custom-light: #7a59a1; $custom-dark: #000000;
JSON
{
"hex": "#3e1779",
"rgb": {
"r": 62,
"g": 23,
"b": 121
},
"hsl": {
"h": 263.878,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.32976,
"c": 0.15204,
"h": 294.5
},
"luminance": 0.03017
}Semantic roles & 50–950 ramp
primary
#3E1779
secondary
#81AE3E
accent
#EB3DA6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F