#3E216E#3E216E
#3E216E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.126 H 296.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3E216E |
|---|---|
| RGB | rgb(62, 33, 110) |
| HSL | hsl(263, 54%, 28%) |
| HSV | hsv(263, 70%, 43%) |
| CMYK | cmyk(43.6%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(20.97, 32.19, -39.76) |
| CIE-LCH | lch(20.97, 51.16, 309.00°) |
| OKLab | oklab(33.28% 0.0556 -0.1135) |
| OKLCH | oklch(33.28% 0.126 296.1) |
| XYZ | xyz(5.3442, 3.2375, 15.0922) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.19
Indigo
#4B0082
ΔE00 6.51
Indigo (survey)
#380282
ΔE00 6.68
Dark Indigo
#1F0954
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E216E #516E21
analogous
#212B6E #3E216E #64216E
triadic
#3E216E #6E3E21 #216E3E
tetradic
#3E216E #6E212B #516E21 #216E64
square
#3E216E #6E212B #516E21 #216E64
split-complementary
#3E216E #6E6421 #2B6E21
monochromatic
#0D0718 #23133F #3E216E #592F9D #7443C7
Accessibility & contrast
On white
12.75
#3E216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#3E216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E216E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E216E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#323344
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3e216e; /* rgb */ color: rgb(62, 33, 110); /* oklch */ color: oklch(33.3% 0.126 296.1);
Tailwind
colors: {
custom: {
50: '#785e98',
500: '#3e216e',
950: '#000000',
},
}SCSS
$custom: #3e216e; $custom-light: #785e98; $custom-dark: #000000;
JSON
{
"hex": "#3e216e",
"rgb": {
"r": 62,
"g": 33,
"b": 110
},
"hsl": {
"h": 262.597,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.33276,
"c": 0.12642,
"h": 296.1
},
"luminance": 0.03238
}Semantic roles & 50–950 ramp
primary
#3E216E
secondary
#80A249
accent
#DD4BA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E