#3E2E8D#3E2E8D
#3E2E8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.150 H 284.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2E8D |
|---|---|
| RGB | rgb(62, 46, 141) |
| HSL | hsl(250, 51%, 37%) |
| HSV | hsv(250, 67%, 55%) |
| CMYK | cmyk(56%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(26.45, 34.03, -50.46) |
| CIE-LCH | lch(26.45, 60.86, 303.99°) |
| OKLab | oklab(38.05% 0.0373 -0.145) |
| OKLCH | oklch(38.05% 0.15 284.4) |
| XYZ | xyz(7.7699, 4.9008, 25.7307) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.60
Blueberry
#464196
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.84
Royal
#0C1793
ΔE00 6.90
Rebeccapurple
#663399
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2E8D #7D8D2E
analogous
#2E4E8D #3E2E8D #6E2E8D
triadic
#3E2E8D #8D3E2E #2E8D3E
tetradic
#3E2E8D #8D2E4E #7D8D2E #2E8D6E
square
#3E2E8D #8D2E4E #7D8D2E #2E8D6E
split-complementary
#3E2E8D #8D6E2E #4E8D2E
monochromatic
#151031 #2A1F5F #3E2E8D #523DBB #7968CE
Accessibility & contrast
On white
10.60
#3E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3E2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2E8D
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2E8D | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#1B4659
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e2e8d; /* rgb */ color: rgb(62, 46, 141); /* oklch */ color: oklch(38.0% 0.150 284.4);
Tailwind
colors: {
custom: {
50: '#7c68af',
500: '#3e2e8d',
950: '#000000',
},
}SCSS
$custom: #3e2e8d; $custom-light: #7c68af; $custom-dark: #000000;
JSON
{
"hex": "#3e2e8d",
"rgb": {
"r": 62,
"g": 46,
"b": 141
},
"hsl": {
"h": 250.105,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.38046,
"c": 0.14971,
"h": 284.4
},
"luminance": 0.04901
}Semantic roles & 50–950 ramp
primary
#3E2E8D
secondary
#A7B562
accent
#DA4EC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F