#3E2B83#3E2B83
#3E2B83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.140 H 287.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2B83 |
|---|---|
| RGB | rgb(62, 43, 131) |
| HSL | hsl(253, 51%, 34%) |
| HSV | hsv(253, 67%, 51%) |
| CMYK | cmyk(52.7%, 67.2%, 0%, 48.6%) |
| CIE-LAB | lab(24.92, 32.66, -46.72) |
| CIE-LCH | lch(24.92, 57.00, 304.96°) |
| OKLab | oklab(36.68% 0.0417 -0.134) |
| OKLCH | oklch(36.68% 0.14 287.3) |
| XYZ | xyz(6.9460, 4.3902, 21.9497) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.15
Midnight Blue
#191970
ΔE00 6.56
Blueberry
#464196
ΔE00 6.60
Royal
#0C1793
ΔE00 7.12
Indigo (survey)
#380282
ΔE00 7.45
Indigo
#4B0082
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2B83 #70832B
analogous
#2B4483 #3E2B83 #6A2B83
triadic
#3E2B83 #833E2B #2B833E
tetradic
#3E2B83 #832B44 #70832B #2B836A
square
#3E2B83 #832B44 #70832B #2B836A
split-complementary
#3E2B83 #836A2B #44832B
monochromatic
#120D27 #281C55 #3E2B83 #543AB1 #765ECA
Accessibility & contrast
On white
11.18
#3E2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3E2B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2B83
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2B83 | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#244153
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2b83; /* rgb */ color: rgb(62, 43, 131); /* oklch */ color: oklch(36.7% 0.140 287.3);
Tailwind
colors: {
custom: {
50: '#7a65a8',
500: '#3e2b83',
950: '#000000',
},
}SCSS
$custom: #3e2b83; $custom-light: #7a65a8; $custom-dark: #000000;
JSON
{
"hex": "#3e2b83",
"rgb": {
"r": 62,
"g": 43,
"b": 131
},
"hsl": {
"h": 252.955,
"s": 50.575,
"l": 34.118
},
"oklch": {
"l": 0.36675,
"c": 0.1403,
"h": 287.3
},
"luminance": 0.04391
}Semantic roles & 50–950 ramp
primary
#3E2B83
secondary
#9DB05A
accent
#DA4EBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F