#3E2194#3E2194
#3E2194 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.174 H 285.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2194 |
|---|---|
| RGB | rgb(62, 33, 148) |
| HSL | hsl(255, 64%, 35%) |
| HSV | hsv(255, 78%, 58%) |
| CMYK | cmyk(58.1%, 77.7%, 0%, 42%) |
| CIE-LAB | lab(24.48, 43.49, -58.02) |
| CIE-LCH | lch(24.48, 72.51, 306.85°) |
| OKLab | oklab(36.84% 0.0471 -0.1671) |
| OKLCH | oklch(36.84% 0.174 285.7) |
| XYZ | xyz(7.8741, 4.2495, 28.4165) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.21
Royal
#0C1793
ΔE00 4.97
Indigo (survey)
#380282
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 5.86
Indigo
#4B0082
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2194 #779421
analogous
#213E94 #3E2194 #772194
triadic
#3E2194 #943E21 #21943E
tetradic
#3E2194 #94213E #779421 #219477
square
#3E2194 #94213E #779421 #219477
split-complementary
#3E2194 #947721 #3E9421
monochromatic
#140B30 #291662 #3E2194 #532CC6 #7756D9
Accessibility & contrast
On white
11.35
#3E2194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3E2194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2194
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2194 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#134259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2194; /* rgb */ color: rgb(62, 33, 148); /* oklch */ color: oklch(36.8% 0.174 285.7);
Tailwind
colors: {
custom: {
50: '#7e60b5',
500: '#3e2194',
950: '#000000',
},
}SCSS
$custom: #3e2194; $custom-light: #7e60b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2194",
"rgb": {
"r": 62,
"g": 33,
"b": 148
},
"hsl": {
"h": 255.13,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.36842,
"c": 0.17358,
"h": 285.7
},
"luminance": 0.0425
}Semantic roles & 50–950 ramp
primary
#3E2194
secondary
#A3BD54
accent
#E741BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980