#3E2491#3E2491
#3E2491 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.167 H 285.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2491 |
|---|---|
| RGB | rgb(62, 36, 145) |
| HSL | hsl(254, 60%, 35%) |
| HSV | hsv(254, 75%, 57%) |
| CMYK | cmyk(57.2%, 75.2%, 0%, 43.1%) |
| CIE-LAB | lab(24.73, 41.03, -55.75) |
| CIE-LCH | lch(24.73, 69.22, 306.35°) |
| OKLab | oklab(36.93% 0.0456 -0.1605) |
| OKLCH | oklch(36.93% 0.167 285.8) |
| XYZ | xyz(7.7268, 4.3298, 27.2112) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.88
Royal
#0C1793
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 5.79
Indigo
#4B0082
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.48
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2491 #779124
analogous
#244091 #3E2491 #742491
triadic
#3E2491 #913E24 #24913E
tetradic
#3E2491 #912440 #779124 #249174
square
#3E2491 #912440 #779124 #249174
split-complementary
#3E2491 #917424 #409124
monochromatic
#140C2F #291860 #3E2491 #5330C2 #7759D6
Accessibility & contrast
On white
11.25
#3E2491 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2491 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2491
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2491 | 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)
#003E94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#174258
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2491; /* rgb */ color: rgb(62, 36, 145); /* oklch */ color: oklch(36.9% 0.167 285.8);
Tailwind
colors: {
custom: {
50: '#7d62b2',
500: '#3e2491',
950: '#000000',
},
}SCSS
$custom: #3e2491; $custom-light: #7d62b2; $custom-dark: #000000;
JSON
{
"hex": "#3e2491",
"rgb": {
"r": 62,
"g": 36,
"b": 145
},
"hsl": {
"h": 254.312,
"s": 60.221,
"l": 35.49
},
"oklch": {
"l": 0.36931,
"c": 0.1668,
"h": 285.8
},
"luminance": 0.0433
}Semantic roles & 50–950 ramp
primary
#3E2491
secondary
#A3BA56
accent
#E344BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980