#3E2997#3E2997
#3E2997 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.169 H 283.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2997 |
|---|---|
| RGB | rgb(62, 41, 151) |
| HSL | hsl(251, 57%, 38%) |
| HSV | hsv(251, 73%, 59%) |
| CMYK | cmyk(58.9%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(26.29, 40.13, -56.90) |
| CIE-LCH | lch(26.29, 69.63, 305.20°) |
| OKLab | oklab(38.21% 0.0401 -0.1638) |
| OKLCH | oklch(38.21% 0.169 283.8) |
| XYZ | xyz(8.3637, 4.8438, 29.7664) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.69
Royal
#0C1793
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.34
Blueberry
#464196
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2997 #829729
analogous
#294B97 #3E2997 #752997
triadic
#3E2997 #973E29 #29973E
tetradic
#3E2997 #97294B #829729 #299775
square
#3E2997 #97294B #829729 #299775
split-complementary
#3E2997 #977529 #4B9729
monochromatic
#160F37 #2A1C67 #3E2997 #5236C7 #7B65D5
Accessibility & contrast
On white
10.67
#3E2997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3E2997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2997
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2997 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#0B475D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3e2997; /* rgb */ color: rgb(62, 41, 151); /* oklch */ color: oklch(38.2% 0.169 283.8);
Tailwind
colors: {
custom: {
50: '#7e65b7',
500: '#3e2997',
950: '#000000',
},
}SCSS
$custom: #3e2997; $custom-light: #7e65b7; $custom-dark: #000000;
JSON
{
"hex": "#3e2997",
"rgb": {
"r": 62,
"g": 41,
"b": 151
},
"hsl": {
"h": 251.455,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.38205,
"c": 0.16869,
"h": 283.8
},
"luminance": 0.04844
}Semantic roles & 50–950 ramp
primary
#3E2997
secondary
#AABB61
accent
#E147C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80