#3E2282#3E2282
#3E2282 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.151 H 289.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2282 |
|---|---|
| RGB | rgb(62, 34, 130) |
| HSL | hsl(258, 59%, 32%) |
| HSV | hsv(258, 74%, 51%) |
| CMYK | cmyk(52.3%, 73.8%, 0%, 49%) |
| CIE-LAB | lab(22.93, 37.58, -49.34) |
| CIE-LCH | lch(22.93, 62.02, 307.29°) |
| OKLab | oklab(35.22% 0.0508 -0.1417) |
| OKLCH | oklch(35.22% 0.151 289.7) |
| XYZ | xyz(6.5867, 3.7796, 21.4972) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.15
Indigo
#4B0082
ΔE00 5.48
Midnight Blue
#191970
ΔE00 5.81
Royal
#0C1793
ΔE00 6.10
Royal Purple (survey)
#4B006E
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2282 #668222
analogous
#223682 #3E2282 #6E2282
triadic
#3E2282 #823E22 #22823E
tetradic
#3E2282 #822236 #668222 #22826E
square
#3E2282 #822236 #668222 #22826E
split-complementary
#3E2282 #826E22 #368222
monochromatic
#100921 #271551 #3E2282 #552FB3 #744ED1
Accessibility & contrast
On white
11.96
#3E2282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3E2282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2282
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2282 | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#263B4F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3e2282; /* rgb */ color: rgb(62, 34, 130); /* oklch */ color: oklch(35.2% 0.151 289.7);
Tailwind
colors: {
custom: {
50: '#7b60a7',
500: '#3e2282',
950: '#000000',
},
}SCSS
$custom: #3e2282; $custom-light: #7b60a7; $custom-dark: #000000;
JSON
{
"hex": "#3e2282",
"rgb": {
"r": 62,
"g": 34,
"b": 130
},
"hsl": {
"h": 257.5,
"s": 58.537,
"l": 32.157
},
"oklch": {
"l": 0.35219,
"c": 0.15051,
"h": 289.7
},
"luminance": 0.0378
}Semantic roles & 50–950 ramp
primary
#3E2282
secondary
#96B44C
accent
#E246B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F