#3E1976#3E1976
#3E1976 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.146 H 295.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1976 |
|---|---|
| RGB | rgb(62, 25, 118) |
| HSL | hsl(264, 65%, 28%) |
| HSV | hsv(264, 79%, 46%) |
| CMYK | cmyk(47.5%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(20.15, 38.77, -46.25) |
| CIE-LCH | lch(20.15, 60.35, 309.97°) |
| OKLab | oklab(32.92% 0.0622 -0.1325) |
| OKLCH | oklch(32.92% 0.146 295.1) |
| XYZ | xyz(5.6034, 3.0273, 17.4251) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.09
Indigo
#4B0082
ΔE00 4.16
Royal Purple (survey)
#4B006E
ΔE00 4.69
Midnight Blue
#191970
ΔE00 5.73
Dark Indigo
#1F0954
ΔE00 7.17
Royal
#0C1793
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1976 #517619
analogous
#192276 #3E1976 #6C1976
triadic
#3E1976 #763E19 #19763E
tetradic
#3E1976 #761922 #517619 #19766C
square
#3E1976 #761922 #517619 #19766C
split-complementary
#3E1976 #766C19 #227619
monochromatic
#0D0519 #230E43 #3E1976 #5924A8 #7435D4
Accessibility & contrast
On white
13.08
#3E1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3E1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1976
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1976 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#2E3246
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e1976; /* rgb */ color: rgb(62, 25, 118); /* oklch */ color: oklch(32.9% 0.146 295.1);
Tailwind
colors: {
custom: {
50: '#7a5a9e',
500: '#3e1976',
950: '#000000',
},
}SCSS
$custom: #3e1976; $custom-light: #7a5a9e; $custom-dark: #000000;
JSON
{
"hex": "#3e1976",
"rgb": {
"r": 62,
"g": 25,
"b": 118
},
"hsl": {
"h": 263.871,
"s": 65.035,
"l": 28.039
},
"oklch": {
"l": 0.32915,
"c": 0.14642,
"h": 295.1
},
"luminance": 0.03027
}Semantic roles & 50–950 ramp
primary
#3E1976
secondary
#80AB40
accent
#E840A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E