#3E1776#3E1776
#3E1776 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.149 H 295.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1776 |
|---|---|
| RGB | rgb(62, 23, 118) |
| HSL | hsl(265, 67%, 28%) |
| HSV | hsv(265, 81%, 46%) |
| CMYK | cmyk(47.5%, 80.5%, 0%, 53.7%) |
| CIE-LAB | lab(19.82, 39.72, -46.80) |
| CIE-LCH | lch(19.82, 61.38, 310.32°) |
| OKLab | oklab(32.68% 0.064 -0.1341) |
| OKLCH | oklch(32.68% 0.149 295.5) |
| XYZ | xyz(5.5621, 2.9448, 17.4114) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.77
Indigo
#4B0082
ΔE00 3.85
Royal Purple (survey)
#4B006E
ΔE00 4.41
Midnight Blue
#191970
ΔE00 5.81
Dark Indigo
#1F0954
ΔE00 7.08
Royal
#0C1793
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1776 #4F7617
analogous
#171F76 #3E1776 #6E1776
triadic
#3E1776 #763E17 #17763E
tetradic
#3E1776 #76171F #4F7617 #17766E
square
#3E1776 #76171F #4F7617 #17766E
split-complementary
#3E1776 #766E17 #1F7617
monochromatic
#0D051A #230D43 #3E1776 #5921A9 #7531D7
Accessibility & contrast
On white
13.22
#3E1776 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#3E1776 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1776
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1776 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1776 | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#2E3146
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3e1776; /* rgb */ color: rgb(62, 23, 118); /* oklch */ color: oklch(32.7% 0.149 295.5);
Tailwind
colors: {
custom: {
50: '#7a599e',
500: '#3e1776',
950: '#000000',
},
}SCSS
$custom: #3e1776; $custom-light: #7a599e; $custom-dark: #000000;
JSON
{
"hex": "#3e1776",
"rgb": {
"r": 62,
"g": 23,
"b": 118
},
"hsl": {
"h": 264.632,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.32683,
"c": 0.1486,
"h": 295.5
},
"luminance": 0.02945
}Semantic roles & 50–950 ramp
primary
#3E1776
secondary
#7EAB3E
accent
#EA3EA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E