#3E2393#3E2393
#3E2393 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.170 H 285.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2393 |
|---|---|
| RGB | rgb(62, 35, 147) |
| HSL | hsl(254, 62%, 36%) |
| HSV | hsv(254, 76%, 58%) |
| CMYK | cmyk(57.8%, 76.2%, 0%, 42.4%) |
| CIE-LAB | lab(24.74, 42.16, -56.97) |
| CIE-LCH | lch(24.74, 70.87, 306.50°) |
| OKLab | oklab(36.99% 0.0458 -0.164) |
| OKLCH | oklch(36.99% 0.17 285.6) |
| XYZ | xyz(7.8525, 4.3323, 28.0205) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.50
Royal
#0C1793
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 6.18
Indigo
#4B0082
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2393 #789323
analogous
#234093 #3E2393 #762393
triadic
#3E2393 #933E23 #23933E
tetradic
#3E2393 #932340 #789323 #239376
square
#3E2393 #932340 #789323 #239376
split-complementary
#3E2393 #937623 #409323
monochromatic
#140B30 #291762 #3E2393 #532FC4 #7759D7
Accessibility & contrast
On white
11.25
#3E2393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2393
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2393 | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#144259
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2393; /* rgb */ color: rgb(62, 35, 147); /* oklch */ color: oklch(37.0% 0.170 285.6);
Tailwind
colors: {
custom: {
50: '#7e61b4',
500: '#3e2393',
950: '#000000',
},
}SCSS
$custom: #3e2393; $custom-light: #7e61b4; $custom-dark: #000000;
JSON
{
"hex": "#3e2393",
"rgb": {
"r": 62,
"g": 35,
"b": 147
},
"hsl": {
"h": 254.464,
"s": 61.538,
"l": 35.686
},
"oklch": {
"l": 0.36995,
"c": 0.17031,
"h": 285.6
},
"luminance": 0.04333
}Semantic roles & 50–950 ramp
primary
#3E2393
secondary
#A3BC56
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980