#3E2392#3E2392
#3E2392 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.169 H 285.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2392 |
|---|---|
| RGB | rgb(62, 35, 146) |
| HSL | hsl(255, 61%, 35%) |
| HSV | hsv(255, 76%, 57%) |
| CMYK | cmyk(57.5%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(24.64, 41.86, -56.51) |
| CIE-LCH | lch(24.64, 70.33, 306.53°) |
| OKLab | oklab(36.9% 0.0461 -0.1627) |
| OKLCH | oklch(36.9% 0.169 285.8) |
| XYZ | xyz(7.7744, 4.3011, 27.6091) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.64
Royal
#0C1793
ΔE00 5.16
Indigo (survey)
#380282
ΔE00 5.64
Indigo
#4B0082
ΔE00 6.14
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2392 #779223
analogous
#233F92 #3E2392 #762392
triadic
#3E2392 #923E23 #23923E
tetradic
#3E2392 #92233F #779223 #239276
square
#3E2392 #92233F #779223 #239276
split-complementary
#3E2392 #927623 #3F9223
monochromatic
#140B2F #291761 #3E2392 #532FC3 #7758D7
Accessibility & contrast
On white
11.29
#3E2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3E2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2392
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2392 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#164259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2392; /* rgb */ color: rgb(62, 35, 146); /* oklch */ color: oklch(36.9% 0.169 285.8);
Tailwind
colors: {
custom: {
50: '#7d61b3',
500: '#3e2392',
950: '#000000',
},
}SCSS
$custom: #3e2392; $custom-light: #7d61b3; $custom-dark: #000000;
JSON
{
"hex": "#3e2392",
"rgb": {
"r": 62,
"g": 35,
"b": 146
},
"hsl": {
"h": 254.595,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.36896,
"c": 0.1691,
"h": 285.8
},
"luminance": 0.04302
}Semantic roles & 50–950 ramp
primary
#3E2392
secondary
#A3BB55
accent
#E443BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980