#3E2E85#3E2E85
#3E2E85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.3% C 0.139 H 286.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2E85 |
|---|---|
| RGB | rgb(62, 46, 133) |
| HSL | hsl(251, 49%, 35%) |
| HSV | hsv(251, 65%, 52%) |
| CMYK | cmyk(53.4%, 65.4%, 0%, 47.8%) |
| CIE-LAB | lab(25.78, 31.45, -46.58) |
| CIE-LCH | lch(25.78, 56.20, 304.03°) |
| OKLab | oklab(37.35% 0.0382 -0.1336) |
| OKLCH | oklch(37.35% 0.139 286) |
| XYZ | xyz(7.1960, 4.6712, 22.7082) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.37
Blueberry
#464196
ΔE00 5.76
Midnight Blue
#191970
ΔE00 7.06
Royal
#0C1793
ΔE00 7.48
Sapphire (survey)
#2138AB
ΔE00 7.48
Rebeccapurple
#663399
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2E85 #75852E
analogous
#2E4A85 #3E2E85 #692E85
triadic
#3E2E85 #853E2E #2E853E
tetradic
#3E2E85 #852E4A #75852E #2E8569
square
#3E2E85 #852E4A #75852E #2E8569
split-complementary
#3E2E85 #85692E #4A852E
monochromatic
#140F2A #291E58 #3E2E85 #533EB2 #7764C9
Accessibility & contrast
On white
10.86
#3E2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3E2E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2E85
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2E85 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#234355
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3e2e85; /* rgb */ color: rgb(62, 46, 133); /* oklch */ color: oklch(37.3% 0.139 286.0);
Tailwind
colors: {
custom: {
50: '#7a68a9',
500: '#3e2e85',
950: '#000000',
},
}SCSS
$custom: #3e2e85; $custom-light: #7a68a9; $custom-dark: #000000;
JSON
{
"hex": "#3e2e85",
"rgb": {
"r": 62,
"g": 46,
"b": 133
},
"hsl": {
"h": 251.034,
"s": 48.603,
"l": 35.098
},
"oklch": {
"l": 0.37347,
"c": 0.13893,
"h": 286
},
"luminance": 0.04672
}Semantic roles & 50–950 ramp
primary
#3E2E85
secondary
#A1B05F
accent
#D850BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F