#3E2288#3E2288
#3E2288 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.158 H 288.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2288 |
|---|---|
| RGB | rgb(62, 34, 136) |
| HSL | hsl(256, 60%, 33%) |
| HSV | hsv(256, 75%, 53%) |
| CMYK | cmyk(54.4%, 75%, 0%, 46.7%) |
| CIE-LAB | lab(23.49, 39.38, -52.19) |
| CIE-LCH | lch(23.49, 65.38, 307.04°) |
| OKLab | oklab(35.79% 0.0494 -0.15) |
| OKLCH | oklch(35.79% 0.158 288.2) |
| XYZ | xyz(7.0013, 3.9454, 23.6804) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.09
Indigo
#4B0082
ΔE00 5.53
Royal
#0C1793
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 6.08
Midnight Blue
#191970
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2288 #6C8822
analogous
#223988 #3E2288 #712288
triadic
#3E2288 #883E22 #22883E
tetradic
#3E2288 #882239 #6C8822 #228871
square
#3E2288 #882239 #6C8822 #228871
split-complementary
#3E2288 #887122 #398822
monochromatic
#110A26 #281657 #3E2288 #542EB9 #7551D3
Accessibility & contrast
On white
11.74
#3E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3E2288 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2288
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2288 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2288 | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#213E53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e2288; /* rgb */ color: rgb(62, 34, 136); /* oklch */ color: oklch(35.8% 0.158 288.2);
Tailwind
colors: {
custom: {
50: '#7c60ac',
500: '#3e2288',
950: '#000000',
},
}SCSS
$custom: #3e2288; $custom-light: #7c60ac; $custom-dark: #000000;
JSON
{
"hex": "#3e2288",
"rgb": {
"r": 62,
"g": 34,
"b": 136
},
"hsl": {
"h": 256.471,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.35789,
"c": 0.15795,
"h": 288.2
},
"luminance": 0.03946
}Semantic roles & 50–950 ramp
primary
#3E2288
secondary
#9AB74F
accent
#E345B8
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F