#3E2F86#3E2F86
#3E2F86 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.139 H 285.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F86 |
|---|---|
| RGB | rgb(62, 47, 134) |
| HSL | hsl(250, 48%, 35%) |
| HSV | hsv(250, 65%, 53%) |
| CMYK | cmyk(53.7%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(26.09, 31.15, -46.69) |
| CIE-LCH | lch(26.09, 56.12, 303.71°) |
| OKLab | oklab(37.6% 0.0371 -0.1339) |
| OKLCH | oklch(37.6% 0.139 285.5) |
| XYZ | xyz(7.3049, 4.7780, 23.0870) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.12
Blueberry
#464196
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 7.24
Midnight Blue
#191970
ΔE00 7.26
Royal
#0C1793
ΔE00 7.59
Rebeccapurple
#663399
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F86 #77862F
analogous
#2F4B86 #3E2F86 #692F86
triadic
#3E2F86 #863E2F #2F863E
tetradic
#3E2F86 #862F4B #77862F #2F8669
square
#3E2F86 #862F4B #77862F #2F8669
split-complementary
#3E2F86 #86692F #4B862F
monochromatic
#140F2B #291F59 #3E2F86 #533FB3 #7766C9
Accessibility & contrast
On white
10.74
#3E2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3E2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F86
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F86 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#224456
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3e2f86; /* rgb */ color: rgb(62, 47, 134); /* oklch */ color: oklch(37.6% 0.139 285.5);
Tailwind
colors: {
custom: {
50: '#7a68aa',
500: '#3e2f86',
950: '#000000',
},
}SCSS
$custom: #3e2f86; $custom-light: #7a68aa; $custom-dark: #000000;
JSON
{
"hex": "#3e2f86",
"rgb": {
"r": 62,
"g": 47,
"b": 134
},
"hsl": {
"h": 250.345,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.37603,
"c": 0.13893,
"h": 285.5
},
"luminance": 0.04778
}Semantic roles & 50–950 ramp
primary
#3E2F86
secondary
#A3B060
accent
#D850C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F