#3E1F95#3E1F95
#3E1F95 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.177 H 285.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1F95 |
|---|---|
| RGB | rgb(62, 31, 149) |
| HSL | hsl(256, 66%, 35%) |
| HSV | hsv(256, 79%, 58%) |
| CMYK | cmyk(58.4%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(24.24, 44.77, -59.03) |
| CIE-LCH | lch(24.24, 74.09, 307.17°) |
| OKLab | oklab(36.7% 0.0482 -0.17) |
| OKLCH | oklch(36.7% 0.177 285.8) |
| XYZ | xyz(7.8998, 4.1736, 28.8173) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Royal
#0C1793
ΔE00 4.85
Indigo (survey)
#380282
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.57
Ultramarine
#2000B1
ΔE00 5.61
Indigo
#4B0082
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1F95 #76951F
analogous
#1F3B95 #3E1F95 #791F95
triadic
#3E1F95 #953E1F #1F953E
tetradic
#3E1F95 #951F3B #76951F #1F9579
square
#3E1F95 #951F3B #76951F #1F9579
split-complementary
#3E1F95 #95791F #3B951F
monochromatic
#140A30 #291462 #3E1F95 #532AC8 #7753DB
Accessibility & contrast
On white
11.45
#3E1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3E1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1F95
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1F95 | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#114159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e1f95; /* rgb */ color: rgb(62, 31, 149); /* oklch */ color: oklch(36.7% 0.177 285.8);
Tailwind
colors: {
custom: {
50: '#7e5fb5',
500: '#3e1f95',
950: '#000000',
},
}SCSS
$custom: #3e1f95; $custom-light: #7e5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3e1f95",
"rgb": {
"r": 62,
"g": 31,
"b": 149
},
"hsl": {
"h": 255.763,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36703,
"c": 0.17673,
"h": 285.8
},
"luminance": 0.04174
}Semantic roles & 50–950 ramp
primary
#3E1F95
secondary
#A2BF51
accent
#E93FBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980