#3E2090#3E2090
#3E2090 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.170 H 286.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2090 |
|---|---|
| RGB | rgb(62, 32, 144) |
| HSL | hsl(256, 64%, 35%) |
| HSV | hsv(256, 78%, 56%) |
| CMYK | cmyk(56.9%, 77.8%, 0%, 43.5%) |
| CIE-LAB | lab(23.90, 42.80, -56.49) |
| CIE-LCH | lch(23.90, 70.88, 307.15°) |
| OKLab | oklab(36.32% 0.0489 -0.1626) |
| OKLCH | oklch(36.32% 0.17 286.7) |
| XYZ | xyz(7.5357, 4.0704, 26.7687) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.74
Indigo (survey)
#380282
ΔE00 4.94
Royal
#0C1793
ΔE00 4.99
Indigo
#4B0082
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2090 #729020
analogous
#203A90 #3E2090 #762090
triadic
#3E2090 #903E20 #20903E
tetradic
#3E2090 #90203A #729020 #209076
square
#3E2090 #90203A #729020 #209076
split-complementary
#3E2090 #907620 #3A9020
monochromatic
#130A2C #28155E #3E2090 #542BC2 #7652D9
Accessibility & contrast
On white
11.58
#3E2090 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3E2090 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2090
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2090 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2090 | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#194057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e2090; /* rgb */ color: rgb(62, 32, 144); /* oklch */ color: oklch(36.3% 0.170 286.7);
Tailwind
colors: {
custom: {
50: '#7d5fb2',
500: '#3e2090',
950: '#000000',
},
}SCSS
$custom: #3e2090; $custom-light: #7d5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3e2090",
"rgb": {
"r": 62,
"g": 32,
"b": 144
},
"hsl": {
"h": 256.071,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.36317,
"c": 0.16982,
"h": 286.7
},
"luminance": 0.04071
}Semantic roles & 50–950 ramp
primary
#3E2090
secondary
#9FBC50
accent
#E741BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980