#3E1E93#3E1E93
#3E1E93 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.175 H 286.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E93 |
|---|---|
| RGB | rgb(62, 30, 147) |
| HSL | hsl(256, 66%, 35%) |
| HSV | hsv(256, 80%, 58%) |
| CMYK | cmyk(57.8%, 79.6%, 0%, 42.4%) |
| CIE-LAB | lab(23.86, 44.67, -58.41) |
| CIE-LCH | lch(23.86, 73.53, 307.40°) |
| OKLab | oklab(36.38% 0.0495 -0.1682) |
| OKLCH | oklch(36.38% 0.175 286.4) |
| XYZ | xyz(7.7158, 4.0588, 27.9750) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.21
Indigo (survey)
#380282
ΔE00 4.78
Royal
#0C1793
ΔE00 4.82
Indigo
#4B0082
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.62
Ultramarine
#2000B1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E93 #73931E
analogous
#1E3993 #3E1E93 #791E93
triadic
#3E1E93 #933E1E #1E933E
tetradic
#3E1E93 #931E39 #73931E #1E9379
square
#3E1E93 #931E39 #73931E #1E9379
split-complementary
#3E1E93 #93791E #39931E
monochromatic
#13092D #291460 #3E1E93 #5328C6 #7650DB
Accessibility & contrast
On white
11.59
#3E1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3E1E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E93
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E93 | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#154058
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e1e93; /* rgb */ color: rgb(62, 30, 147); /* oklch */ color: oklch(36.4% 0.175 286.4);
Tailwind
colors: {
custom: {
50: '#7e5eb4',
500: '#3e1e93',
950: '#000000',
},
}SCSS
$custom: #3e1e93; $custom-light: #7e5eb4; $custom-dark: #000000;
JSON
{
"hex": "#3e1e93",
"rgb": {
"r": 62,
"g": 30,
"b": 147
},
"hsl": {
"h": 256.41,
"s": 66.102,
"l": 34.706
},
"oklch": {
"l": 0.36382,
"c": 0.17533,
"h": 286.4
},
"luminance": 0.04059
}Semantic roles & 50–950 ramp
primary
#3E1E93
secondary
#A0BE4F
accent
#E93FBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980