#3E2283#3E2283
#3E2283 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.152 H 289.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2283 |
|---|---|
| RGB | rgb(62, 34, 131) |
| HSL | hsl(257, 59%, 32%) |
| HSV | hsv(257, 74%, 51%) |
| CMYK | cmyk(52.7%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(23.02, 37.88, -49.82) |
| CIE-LCH | lch(23.02, 62.58, 307.25°) |
| OKLab | oklab(35.31% 0.0506 -0.1431) |
| OKLCH | oklch(35.31% 0.152 289.5) |
| XYZ | xyz(6.6542, 3.8066, 21.8525) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.12
Indigo
#4B0082
ΔE00 5.47
Midnight Blue
#191970
ΔE00 5.86
Royal
#0C1793
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.89
Royal Purple (survey)
#4B006E
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2283 #678322
analogous
#223683 #3E2283 #6F2283
triadic
#3E2283 #833E22 #22833E
tetradic
#3E2283 #832236 #678322 #22836F
square
#3E2283 #832236 #678322 #22836F
split-complementary
#3E2283 #836F22 #368322
monochromatic
#100922 #271552 #3E2283 #552FB4 #744ED1
Accessibility & contrast
On white
11.92
#3E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3E2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2283
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2283 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#253C50
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3e2283; /* rgb */ color: rgb(62, 34, 131); /* oklch */ color: oklch(35.3% 0.152 289.5);
Tailwind
colors: {
custom: {
50: '#7b60a8',
500: '#3e2283',
950: '#000000',
},
}SCSS
$custom: #3e2283; $custom-light: #7b60a8; $custom-dark: #000000;
JSON
{
"hex": "#3e2283",
"rgb": {
"r": 62,
"g": 34,
"b": 131
},
"hsl": {
"h": 257.32,
"s": 58.788,
"l": 32.353
},
"oklch": {
"l": 0.35313,
"c": 0.15176,
"h": 289.5
},
"luminance": 0.03807
}Semantic roles & 50–950 ramp
primary
#3E2283
secondary
#96B44C
accent
#E246B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F