#3E2695#3E2695
#3E2695 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.170 H 284.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2695 |
|---|---|
| RGB | rgb(62, 38, 149) |
| HSL | hsl(253, 59%, 37%) |
| HSV | hsv(253, 74%, 58%) |
| CMYK | cmyk(58.4%, 74.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.50, 41.17, -56.95) |
| CIE-LCH | lch(25.50, 70.27, 305.86°) |
| OKLab | oklab(37.59% 0.043 -0.164) |
| OKLCH | oklch(37.59% 0.17 284.7) |
| XYZ | xyz(8.1029, 4.5798, 28.8850) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.53
Royal
#0C1793
ΔE00 5.41
Indigo (survey)
#380282
ΔE00 6.42
Cobalt Blue
#030AA7
ΔE00 6.47
Ultramarine
#2000B1
ΔE00 6.63
Royal Blue (survey)
#0504AA
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2695 #7D9526
analogous
#264695 #3E2695 #762695
triadic
#3E2695 #953E26 #26953E
tetradic
#3E2695 #952646 #7D9526 #269576
square
#3E2695 #952646 #7D9526 #269576
split-complementary
#3E2695 #957626 #469526
monochromatic
#150D33 #2A1A64 #3E2695 #5232C6 #795FD6
Accessibility & contrast
On white
10.96
#3E2695 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3E2695 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2695
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2695 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2695 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#10445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2695; /* rgb */ color: rgb(62, 38, 149); /* oklch */ color: oklch(37.6% 0.170 284.7);
Tailwind
colors: {
custom: {
50: '#7e63b5',
500: '#3e2695',
950: '#000000',
},
}SCSS
$custom: #3e2695; $custom-light: #7e63b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2695",
"rgb": {
"r": 62,
"g": 38,
"b": 149
},
"hsl": {
"h": 252.973,
"s": 59.358,
"l": 36.667
},
"oklch": {
"l": 0.37592,
"c": 0.16954,
"h": 284.7
},
"luminance": 0.0458
}Semantic roles & 50–950 ramp
primary
#3E2695
secondary
#A7BB5B
accent
#E345C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80