#3E208F#3E208F
#3E208F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.169 H 287.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3E208F |
|---|---|
| RGB | rgb(62, 32, 143) |
| HSL | hsl(256, 63%, 34%) |
| HSV | hsv(256, 78%, 56%) |
| CMYK | cmyk(56.6%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(23.80, 42.51, -56.04) |
| CIE-LCH | lch(23.80, 70.34, 307.18°) |
| OKLab | oklab(36.22% 0.0492 -0.1613) |
| OKLCH | oklch(36.22% 0.169 287) |
| XYZ | xyz(7.4596, 4.0399, 26.3680) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.89
Indigo Blue
#3A18B1
ΔE00 4.89
Royal
#0C1793
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E208F #718F20
analogous
#203A8F #3E208F #76208F
triadic
#3E208F #8F3E20 #208F3E
tetradic
#3E208F #8F203A #718F20 #208F76
square
#3E208F #8F203A #718F20 #208F76
split-complementary
#3E208F #8F7620 #3A8F20
monochromatic
#130A2B #28155D #3E208F #542BC1 #7651D8
Accessibility & contrast
On white
11.62
#3E208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3E208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E208F
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E208F | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#1A3F56
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e208f; /* rgb */ color: rgb(62, 32, 143); /* oklch */ color: oklch(36.2% 0.169 287.0);
Tailwind
colors: {
custom: {
50: '#7d5fb1',
500: '#3e208f',
950: '#000000',
},
}SCSS
$custom: #3e208f; $custom-light: #7d5fb1; $custom-dark: #000000;
JSON
{
"hex": "#3e208f",
"rgb": {
"r": 62,
"g": 32,
"b": 143
},
"hsl": {
"h": 256.216,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.36217,
"c": 0.16861,
"h": 287
},
"luminance": 0.0404
}Semantic roles & 50–950 ramp
primary
#3E208F
secondary
#9EBB4F
accent
#E641BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980