#3E2D8F#3E2D8F
#3E2D8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.154 H 284.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2D8F |
|---|---|
| RGB | rgb(62, 45, 143) |
| HSL | hsl(250, 52%, 37%) |
| HSV | hsv(250, 69%, 56%) |
| CMYK | cmyk(56.6%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(26.40, 35.27, -51.78) |
| CIE-LCH | lch(26.40, 62.65, 304.26°) |
| OKLab | oklab(38.06% 0.038 -0.1489) |
| OKLCH | oklch(38.06% 0.154 284.3) |
| XYZ | xyz(7.8814, 4.8836, 26.5086) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.95
Blueberry
#464196
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.38
Royal
#0C1793
ΔE00 6.61
Rebeccapurple
#663399
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2D8F #7E8F2D
analogous
#2D4D8F #3E2D8F #6F2D8F
triadic
#3E2D8F #8F3E2D #2D8F3E
tetradic
#3E2D8F #8F2D4D #7E8F2D #2D8F6F
square
#3E2D8F #8F2D4D #7E8F2D #2D8F6F
split-complementary
#3E2D8F #8F6F2D #4D8F2D
monochromatic
#161032 #2A1E60 #3E2D8F #523CBE #7967CF
Accessibility & contrast
On white
10.62
#3E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3E2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2D8F
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2D8F | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#18465A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3e2d8f; /* rgb */ color: rgb(62, 45, 143); /* oklch */ color: oklch(38.1% 0.154 284.3);
Tailwind
colors: {
custom: {
50: '#7c67b1',
500: '#3e2d8f',
950: '#000000',
},
}SCSS
$custom: #3e2d8f; $custom-light: #7c67b1; $custom-dark: #000000;
JSON
{
"hex": "#3e2d8f",
"rgb": {
"r": 62,
"g": 45,
"b": 143
},
"hsl": {
"h": 250.408,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.38064,
"c": 0.15364,
"h": 284.3
},
"luminance": 0.04884
}Semantic roles & 50–950 ramp
primary
#3E2D8F
secondary
#A7B662
accent
#DC4CC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80