#3E2E86#3E2E86
#3E2E86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.140 H 285.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2E86 |
|---|---|
| RGB | rgb(62, 46, 134) |
| HSL | hsl(251, 49%, 35%) |
| HSV | hsv(251, 66%, 53%) |
| CMYK | cmyk(53.7%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(25.86, 31.77, -47.07) |
| CIE-LCH | lch(25.86, 56.79, 304.02°) |
| OKLab | oklab(37.43% 0.0381 -0.135) |
| OKLCH | oklch(37.43% 0.14 285.8) |
| XYZ | xyz(7.2654, 4.6990, 23.0738) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.38
Blueberry
#464196
ΔE00 5.70
Midnight Blue
#191970
ΔE00 7.10
Sapphire (survey)
#2138AB
ΔE00 7.34
Royal
#0C1793
ΔE00 7.39
Rebeccapurple
#663399
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2E86 #76862E
analogous
#2E4A86 #3E2E86 #6A2E86
triadic
#3E2E86 #863E2E #2E863E
tetradic
#3E2E86 #862E4A #76862E #2E866A
square
#3E2E86 #862E4A #76862E #2E866A
split-complementary
#3E2E86 #866A2E #4A862E
monochromatic
#140F2B #291E58 #3E2E86 #533EB4 #7764CA
Accessibility & contrast
On white
10.83
#3E2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3E2E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2E86
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2E86 | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#224355
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3e2e86; /* rgb */ color: rgb(62, 46, 134); /* oklch */ color: oklch(37.4% 0.140 285.8);
Tailwind
colors: {
custom: {
50: '#7a68aa',
500: '#3e2e86',
950: '#000000',
},
}SCSS
$custom: #3e2e86; $custom-light: #7a68aa; $custom-dark: #000000;
JSON
{
"hex": "#3e2e86",
"rgb": {
"r": 62,
"g": 46,
"b": 134
},
"hsl": {
"h": 250.909,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.37433,
"c": 0.1403,
"h": 285.8
},
"luminance": 0.04699
}Semantic roles & 50–950 ramp
primary
#3E2E86
secondary
#A2B15F
accent
#D84FC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F