#3E2D7C#3E2D7C
#3E2D7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.4% C 0.128 H 288.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2D7C |
|---|---|
| RGB | rgb(62, 45, 124) |
| HSL | hsl(253, 47%, 33%) |
| HSV | hsv(253, 64%, 49%) |
| CMYK | cmyk(50%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(24.81, 29.19, -42.48) |
| CIE-LCH | lch(24.81, 51.54, 304.50°) |
| OKLab | oklab(36.42% 0.0401 -0.1215) |
| OKLCH | oklch(36.42% 0.128 288.3) |
| XYZ | xyz(6.5620, 4.3559, 19.5599) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 6.64
Midnight Blue
#191970
ΔE00 6.80
Rebeccapurple
#663399
ΔE00 8.28
Royal
#0C1793
ΔE00 8.29
Indigo (survey)
#380282
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2D7C #6B7C2D
analogous
#2D437C #3E2D7C #652D7C
triadic
#3E2D7C #7C3E2D #2D7C3E
tetradic
#3E2D7C #7C2D43 #6B7C2D #2D7C65
square
#3E2D7C #7C2D43 #6B7C2D #2D7C65
split-complementary
#3E2D7C #7C652D #437C2D
monochromatic
#110C22 #281D4F #3E2D7C #543DA9 #755FC5
Accessibility & contrast
On white
11.22
#3E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2D7C
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2D7C | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#293F50
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2d7c; /* rgb */ color: rgb(62, 45, 124); /* oklch */ color: oklch(36.4% 0.128 288.3);
Tailwind
colors: {
custom: {
50: '#7967a3',
500: '#3e2d7c',
950: '#000000',
},
}SCSS
$custom: #3e2d7c; $custom-light: #7967a3; $custom-dark: #000000;
JSON
{
"hex": "#3e2d7c",
"rgb": {
"r": 62,
"g": 45,
"b": 124
},
"hsl": {
"h": 252.911,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.36418,
"c": 0.12797,
"h": 288.3
},
"luminance": 0.04356
}Semantic roles & 50–950 ramp
primary
#3E2D7C
secondary
#9AAB5A
accent
#D651BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F