#3E2394#3E2394
#3E2394 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.172 H 285.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2394 |
|---|---|
| RGB | rgb(62, 35, 148) |
| HSL | hsl(254, 62%, 36%) |
| HSV | hsv(254, 76%, 58%) |
| CMYK | cmyk(58.1%, 76.4%, 0%, 42%) |
| CIE-LAB | lab(24.84, 42.46, -57.43) |
| CIE-LCH | lch(24.84, 71.42, 306.48°) |
| OKLab | oklab(37.1% 0.0456 -0.1654) |
| OKLCH | oklch(37.1% 0.172 285.4) |
| XYZ | xyz(7.9313, 4.3638, 28.4356) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.36
Royal
#0C1793
ΔE00 5.12
Indigo (survey)
#380282
ΔE00 5.75
Cobalt Blue
#030AA7
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.25
Indigo
#4B0082
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2394 #799423
analogous
#234094 #3E2394 #762394
triadic
#3E2394 #943E23 #23943E
tetradic
#3E2394 #942340 #799423 #239476
square
#3E2394 #942340 #799423 #239476
split-complementary
#3E2394 #947623 #409423
monochromatic
#150C31 #291763 #3E2394 #532FC5 #785AD8
Accessibility & contrast
On white
11.21
#3E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2394
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2394 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#12435A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2394; /* rgb */ color: rgb(62, 35, 148); /* oklch */ color: oklch(37.1% 0.172 285.4);
Tailwind
colors: {
custom: {
50: '#7e61b4',
500: '#3e2394',
950: '#000000',
},
}SCSS
$custom: #3e2394; $custom-light: #7e61b4; $custom-dark: #000000;
JSON
{
"hex": "#3e2394",
"rgb": {
"r": 62,
"g": 35,
"b": 148
},
"hsl": {
"h": 254.336,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.37095,
"c": 0.17152,
"h": 285.4
},
"luminance": 0.04364
}Semantic roles & 50–950 ramp
primary
#3E2394
secondary
#A4BC57
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980