#3E2193#3E2193
#3E2193 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.172 H 285.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2193 |
|---|---|
| RGB | rgb(62, 33, 147) |
| HSL | hsl(255, 63%, 35%) |
| HSV | hsv(255, 78%, 58%) |
| CMYK | cmyk(57.8%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(24.38, 43.19, -57.57) |
| CIE-LCH | lch(24.38, 71.97, 306.88°) |
| OKLab | oklab(36.74% 0.0473 -0.1657) |
| OKLCH | oklch(36.74% 0.172 285.9) |
| XYZ | xyz(7.7953, 4.2180, 28.0015) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.36
Royal
#0C1793
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.31
Indigo
#4B0082
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2193 #769321
analogous
#213D93 #3E2193 #772193
triadic
#3E2193 #933E21 #21933E
tetradic
#3E2193 #93213D #769321 #219377
square
#3E2193 #93213D #769321 #219377
split-complementary
#3E2193 #937721 #3D9321
monochromatic
#140B2F #291661 #3E2193 #532CC5 #7755D9
Accessibility & contrast
On white
11.39
#3E2193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3E2193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2193
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2193 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#144159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2193; /* rgb */ color: rgb(62, 33, 147); /* oklch */ color: oklch(36.7% 0.172 285.9);
Tailwind
colors: {
custom: {
50: '#7e60b4',
500: '#3e2193',
950: '#000000',
},
}SCSS
$custom: #3e2193; $custom-light: #7e60b4; $custom-dark: #000000;
JSON
{
"hex": "#3e2193",
"rgb": {
"r": 62,
"g": 33,
"b": 147
},
"hsl": {
"h": 255.263,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.36741,
"c": 0.17238,
"h": 285.9
},
"luminance": 0.04218
}Semantic roles & 50–950 ramp
primary
#3E2193
secondary
#A2BD53
accent
#E641BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980