#3E1E7F#3E1E7F
#3E1E7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.152 H 291.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E7F |
|---|---|
| RGB | rgb(62, 30, 127) |
| HSL | hsl(260, 62%, 31%) |
| HSV | hsv(260, 76%, 50%) |
| CMYK | cmyk(51.2%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(21.89, 38.83, -49.15) |
| CIE-LCH | lch(21.89, 62.63, 308.31°) |
| OKLab | oklab(34.4% 0.0552 -0.1411) |
| OKLCH | oklch(34.4% 0.152 291.4) |
| XYZ | xyz(6.2806, 3.4847, 20.4163) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.35
Indigo
#4B0082
ΔE00 4.67
Midnight Blue
#191970
ΔE00 5.65
Royal Purple (survey)
#4B006E
ΔE00 6.14
Royal
#0C1793
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E7F #5F7F1E
analogous
#1E2E7F #3E1E7F #6E1E7F
triadic
#3E1E7F #7F3E1E #1E7F3E
tetradic
#3E1E7F #7F1E2E #5F7F1E #1E7F6E
square
#3E1E7F #7F1E2E #5F7F1E #1E7F6E
split-complementary
#3E1E7F #7F6E1E #2E7F1E
monochromatic
#0E071C #26124D #3E1E7F #562AB1 #7344D3
Accessibility & contrast
On white
12.37
#3E1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3E1E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E7F
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E7F | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#28384D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3e1e7f; /* rgb */ color: rgb(62, 30, 127); /* oklch */ color: oklch(34.4% 0.152 291.4);
Tailwind
colors: {
custom: {
50: '#7b5da5',
500: '#3e1e7f',
950: '#000000',
},
}SCSS
$custom: #3e1e7f; $custom-light: #7b5da5; $custom-dark: #000000;
JSON
{
"hex": "#3e1e7f",
"rgb": {
"r": 62,
"g": 30,
"b": 127
},
"hsl": {
"h": 259.794,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.34398,
"c": 0.15151,
"h": 291.4
},
"luminance": 0.03485
}Semantic roles & 50–950 ramp
primary
#3E1E7F
secondary
#8FB247
accent
#E543AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F