#3E2694#3E2694
#3E2694 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.168 H 284.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2694 |
|---|---|
| RGB | rgb(62, 38, 148) |
| HSL | hsl(253, 59%, 36%) |
| HSV | hsv(253, 74%, 58%) |
| CMYK | cmyk(58.1%, 74.3%, 0%, 42%) |
| CIE-LAB | lab(25.41, 40.86, -56.50) |
| CIE-LCH | lch(25.41, 69.72, 305.88°) |
| OKLab | oklab(37.49% 0.0432 -0.1627) |
| OKLCH | oklch(37.49% 0.168 284.9) |
| XYZ | xyz(8.0234, 4.5480, 28.4663) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.67
Royal
#0C1793
ΔE00 5.42
Indigo (survey)
#380282
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 6.54
Ultramarine
#2000B1
ΔE00 6.72
Indigo
#4B0082
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2694 #7C9426
analogous
#264594 #3E2694 #752694
triadic
#3E2694 #943E26 #26943E
tetradic
#3E2694 #942645 #7C9426 #269475
square
#3E2694 #942645 #7C9426 #269475
split-complementary
#3E2694 #947526 #459426
monochromatic
#150D33 #2A1963 #3E2694 #5233C5 #795FD6
Accessibility & contrast
On white
11.00
#3E2694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3E2694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2694
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2694 | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#12445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2694; /* rgb */ color: rgb(62, 38, 148); /* oklch */ color: oklch(37.5% 0.168 284.9);
Tailwind
colors: {
custom: {
50: '#7d63b4',
500: '#3e2694',
950: '#000000',
},
}SCSS
$custom: #3e2694; $custom-light: #7d63b4; $custom-dark: #000000;
JSON
{
"hex": "#3e2694",
"rgb": {
"r": 62,
"g": 38,
"b": 148
},
"hsl": {
"h": 253.091,
"s": 59.14,
"l": 36.471
},
"oklch": {
"l": 0.37494,
"c": 0.1683,
"h": 284.9
},
"luminance": 0.04548
}Semantic roles & 50–950 ramp
primary
#3E2694
secondary
#A6BB5B
accent
#E245C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80