#3E2096#3E2096
#3E2096 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.177 H 285.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2096 |
|---|---|
| RGB | rgb(62, 32, 150) |
| HSL | hsl(255, 65%, 36%) |
| HSV | hsv(255, 79%, 59%) |
| CMYK | cmyk(58.7%, 78.7%, 0%, 41.2%) |
| CIE-LAB | lab(24.51, 44.57, -59.20) |
| CIE-LCH | lch(24.51, 74.11, 306.98°) |
| OKLab | oklab(36.92% 0.0472 -0.1705) |
| OKLCH | oklch(36.92% 0.177 285.5) |
| XYZ | xyz(8.0065, 4.2587, 29.2484) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Royal
#0C1793
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 5.61
Ultramarine
#2000B1
ΔE00 5.64
Indigo
#4B0082
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2096 #789620
analogous
#203D96 #3E2096 #792096
triadic
#3E2096 #963E20 #20963E
tetradic
#3E2096 #96203D #789620 #209679
square
#3E2096 #96203D #789620 #209679
split-complementary
#3E2096 #967920 #3D9620
monochromatic
#140A31 #291564 #3E2096 #532BC8 #7756DB
Accessibility & contrast
On white
11.34
#3E2096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3E2096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2096
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2096 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#0F425A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2096; /* rgb */ color: rgb(62, 32, 150); /* oklch */ color: oklch(36.9% 0.177 285.5);
Tailwind
colors: {
custom: {
50: '#7e60b6',
500: '#3e2096',
950: '#000000',
},
}SCSS
$custom: #3e2096; $custom-light: #7e60b6; $custom-dark: #000000;
JSON
{
"hex": "#3e2096",
"rgb": {
"r": 62,
"g": 32,
"b": 150
},
"hsl": {
"h": 255.254,
"s": 64.835,
"l": 35.686
},
"oklch": {
"l": 0.36923,
"c": 0.17694,
"h": 285.5
},
"luminance": 0.04259
}Semantic roles & 50–950 ramp
primary
#3E2096
secondary
#A3BE53
accent
#E840BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980