#3E2492#3E2492
#3E2492 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.168 H 285.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2492 |
|---|---|
| RGB | rgb(62, 36, 146) |
| HSL | hsl(254, 60%, 36%) |
| HSV | hsv(254, 75%, 57%) |
| CMYK | cmyk(57.5%, 75.3%, 0%, 42.7%) |
| CIE-LAB | lab(24.83, 41.33, -56.21) |
| CIE-LCH | lch(24.83, 69.77, 306.33°) |
| OKLab | oklab(37.03% 0.0453 -0.1618) |
| OKLCH | oklch(37.03% 0.168 285.6) |
| XYZ | xyz(7.8042, 4.3608, 27.6190) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.73
Royal
#0C1793
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.84
Indigo
#4B0082
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2492 #789224
analogous
#244192 #3E2492 #752492
triadic
#3E2492 #923E24 #24923E
tetradic
#3E2492 #922441 #789224 #249275
square
#3E2492 #922441 #789224 #249275
split-complementary
#3E2492 #927524 #419224
monochromatic
#140C30 #291861 #3E2492 #5330C3 #775AD6
Accessibility & contrast
On white
11.22
#3E2492 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2492 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2492
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2492 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2492 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#154259
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2492; /* rgb */ color: rgb(62, 36, 146); /* oklch */ color: oklch(37.0% 0.168 285.6);
Tailwind
colors: {
custom: {
50: '#7d62b3',
500: '#3e2492',
950: '#000000',
},
}SCSS
$custom: #3e2492; $custom-light: #7d62b3; $custom-dark: #000000;
JSON
{
"hex": "#3e2492",
"rgb": {
"r": 62,
"g": 36,
"b": 146
},
"hsl": {
"h": 254.182,
"s": 60.44,
"l": 35.686
},
"oklch": {
"l": 0.37028,
"c": 0.16802,
"h": 285.6
},
"luminance": 0.04361
}Semantic roles & 50–950 ramp
primary
#3E2492
secondary
#A3BB57
accent
#E444BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980