#3E2383#3E2383
#3E2383 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.151 H 289.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2383 |
|---|---|
| RGB | rgb(62, 35, 131) |
| HSL | hsl(257, 58%, 33%) |
| HSV | hsv(257, 73%, 51%) |
| CMYK | cmyk(52.7%, 73.3%, 0%, 48.6%) |
| CIE-LAB | lab(23.22, 37.33, -49.50) |
| CIE-LCH | lch(23.22, 61.99, 307.02°) |
| OKLab | oklab(35.45% 0.0497 -0.1421) |
| OKLCH | oklch(35.45% 0.151 289.3) |
| XYZ | xyz(6.6832, 3.8646, 21.8621) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.36
Indigo
#4B0082
ΔE00 5.70
Midnight Blue
#191970
ΔE00 5.89
Royal
#0C1793
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.96
Darkslateblue
#483D8B
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2383 #688323
analogous
#233883 #3E2383 #6E2383
triadic
#3E2383 #833E23 #23833E
tetradic
#3E2383 #832338 #688323 #23836E
square
#3E2383 #832338 #688323 #23836E
split-complementary
#3E2383 #836E23 #388323
monochromatic
#100922 #271653 #3E2383 #5530B3 #7450D0
Accessibility & contrast
On white
11.84
#3E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3E2383 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2383
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2383 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2383 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 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: #3e2383; /* rgb */ color: rgb(62, 35, 131); /* oklch */ color: oklch(35.5% 0.151 289.3);
Tailwind
colors: {
custom: {
50: '#7b60a8',
500: '#3e2383',
950: '#000000',
},
}SCSS
$custom: #3e2383; $custom-light: #7b60a8; $custom-dark: #000000;
JSON
{
"hex": "#3e2383",
"rgb": {
"r": 62,
"g": 35,
"b": 131
},
"hsl": {
"h": 256.875,
"s": 57.831,
"l": 32.549
},
"oklch": {
"l": 0.35454,
"c": 0.15056,
"h": 289.3
},
"luminance": 0.03865
}Semantic roles & 50–950 ramp
primary
#3E2383
secondary
#97B44E
accent
#E147B6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F