#3E2B92#3E2B92
#3E2B92 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.160 H 284.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2B92 |
|---|---|
| RGB | rgb(62, 43, 146) |
| HSL | hsl(251, 54%, 37%) |
| HSV | hsv(251, 71%, 57%) |
| CMYK | cmyk(57.5%, 70.5%, 0%, 42.7%) |
| CIE-LAB | lab(26.24, 37.41, -53.90) |
| CIE-LCH | lch(26.24, 65.61, 304.76°) |
| OKLab | oklab(38.03% 0.0394 -0.1551) |
| OKLCH | oklch(38.03% 0.16 284.2) |
| XYZ | xyz(8.0372, 4.8267, 27.6967) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 5.64
Royal
#0C1793
ΔE00 6.16
Blueberry
#464196
ΔE00 6.22
Sapphire (survey)
#2138AB
ΔE00 6.37
Rebeccapurple
#663399
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2B92 #7F922B
analogous
#2B4C92 #3E2B92 #722B92
triadic
#3E2B92 #923E2B #2B923E
tetradic
#3E2B92 #922B4C #7F922B #2B9272
square
#3E2B92 #922B4C #7F922B #2B9272
split-complementary
#3E2B92 #92722B #4C922B
monochromatic
#160F33 #2A1D63 #3E2B92 #5239C1 #7A66D2
Accessibility & contrast
On white
10.68
#3E2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3E2B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2B92
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2B92 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#14465B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3e2b92; /* rgb */ color: rgb(62, 43, 146); /* oklch */ color: oklch(38.0% 0.160 284.2);
Tailwind
colors: {
custom: {
50: '#7d66b3',
500: '#3e2b92',
950: '#000000',
},
}SCSS
$custom: #3e2b92; $custom-light: #7d66b3; $custom-dark: #000000;
JSON
{
"hex": "#3e2b92",
"rgb": {
"r": 62,
"g": 43,
"b": 146
},
"hsl": {
"h": 251.068,
"s": 54.497,
"l": 37.059
},
"oklch": {
"l": 0.38028,
"c": 0.16,
"h": 284.2
},
"luminance": 0.04827
}Semantic roles & 50–950 ramp
primary
#3E2B92
secondary
#A8B861
accent
#DE4AC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80