#3E0F76#3E0F76
#3E0F76 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.156 H 296.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3E0F76 |
|---|---|
| RGB | rgb(62, 15, 118) |
| HSL | hsl(267, 77%, 26%) |
| HSV | hsv(267, 87%, 46%) |
| CMYK | cmyk(47.5%, 87.3%, 0%, 53.7%) |
| CIE-LAB | lab(18.69, 43.02, -48.66) |
| CIE-LCH | lch(18.69, 64.95, 311.48°) |
| OKLab | oklab(31.9% 0.07 -0.1395) |
| OKLCH | oklch(31.9% 0.156 296.7) |
| XYZ | xyz(5.4266, 2.6737, 17.3662) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.83
Indigo
#4B0082
ΔE00 2.97
Royal Purple (survey)
#4B006E
ΔE00 3.63
Midnight Blue
#191970
ΔE00 6.28
Deep Blue
#040273
ΔE00 6.69
Navy
#000080
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E0F76 #47760F
analogous
#0F1376 #3E0F76 #710F76
triadic
#3E0F76 #763E0F #0F763E
tetradic
#3E0F76 #760F13 #47760F #0F7671
square
#3E0F76 #760F13 #47760F #0F7671
split-complementary
#3E0F76 #76710F #13760F
monochromatic
#0E031B #210840 #3E0F76 #5B16AC #771DE2
Accessibility & contrast
On white
13.68
#3E0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3E0F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E0F76
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E0F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E0F76 | 1.00 | 13.68 | 1.53 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#2E2E44
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3e0f76; /* rgb */ color: rgb(62, 15, 118); /* oklch */ color: oklch(31.9% 0.156 296.7);
Tailwind
colors: {
custom: {
50: '#7a559e',
500: '#3e0f76',
950: '#000000',
},
}SCSS
$custom: #3e0f76; $custom-light: #7a559e; $custom-dark: #000000;
JSON
{
"hex": "#3e0f76",
"rgb": {
"r": 62,
"g": 15,
"b": 118
},
"hsl": {
"h": 267.379,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.31897,
"c": 0.1561,
"h": 296.7
},
"luminance": 0.02674
}Semantic roles & 50–950 ramp
primary
#3E0F76
secondary
#76AD33
accent
#F4349C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E