#3E2294#3E2294
#3E2294 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.173 H 285.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2294 |
|---|---|
| RGB | rgb(62, 34, 148) |
| HSL | hsl(255, 63%, 36%) |
| HSV | hsv(255, 77%, 58%) |
| CMYK | cmyk(58.1%, 77%, 0%, 42%) |
| CIE-LAB | lab(24.66, 42.98, -57.73) |
| CIE-LCH | lch(24.66, 71.97, 306.67°) |
| OKLab | oklab(36.97% 0.0463 -0.1662) |
| OKLCH | oklch(36.97% 0.173 285.6) |
| XYZ | xyz(7.9023, 4.3058, 28.4259) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.28
Royal
#0C1793
ΔE00 5.04
Indigo (survey)
#380282
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.98
Indigo
#4B0082
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2294 #789422
analogous
#223F94 #3E2294 #772294
triadic
#3E2294 #943E22 #22943E
tetradic
#3E2294 #94223F #789422 #229477
square
#3E2294 #94223F #789422 #229477
split-complementary
#3E2294 #947722 #3F9422
monochromatic
#140B30 #291762 #3E2294 #532DC6 #7758D9
Accessibility & contrast
On white
11.28
#3E2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3E2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2294
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2294 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#13425A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2294; /* rgb */ color: rgb(62, 34, 148); /* oklch */ color: oklch(37.0% 0.173 285.6);
Tailwind
colors: {
custom: {
50: '#7e61b4',
500: '#3e2294',
950: '#000000',
},
}SCSS
$custom: #3e2294; $custom-light: #7e61b4; $custom-dark: #000000;
JSON
{
"hex": "#3e2294",
"rgb": {
"r": 62,
"g": 34,
"b": 148
},
"hsl": {
"h": 254.737,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.36967,
"c": 0.17256,
"h": 285.6
},
"luminance": 0.04306
}Semantic roles & 50–950 ramp
primary
#3E2294
secondary
#A3BD55
accent
#E642BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980