#3E1D99#3E1D99
#3E1D99 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.183 H 285.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1D99 |
|---|---|
| RGB | rgb(62, 29, 153) |
| HSL | hsl(256, 68%, 36%) |
| HSV | hsv(256, 81%, 60%) |
| CMYK | cmyk(59.5%, 81%, 0%, 40%) |
| CIE-LAB | lab(24.33, 46.87, -61.34) |
| CIE-LCH | lch(24.33, 77.20, 307.38°) |
| OKLab | oklab(36.89% 0.0482 -0.1767) |
| OKLCH | oklch(36.89% 0.183 285.3) |
| XYZ | xyz(8.1740, 4.2023, 30.5112) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Royal
#0C1793
ΔE00 4.80
Ultramarine
#2000B1
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.13
Indigo (survey)
#380282
ΔE00 5.14
Royal Blue (survey)
#0504AA
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1D99 #78991D
analogous
#1D3A99 #3E1D99 #7C1D99
triadic
#3E1D99 #993E1D #1D993E
tetradic
#3E1D99 #991D3A #78991D #1D997C
square
#3E1D99 #991D3A #78991D #1D997C
split-complementary
#3E1D99 #997C1D #3A991D
monochromatic
#140932 #291366 #3E1D99 #5327CC #7752DE
Accessibility & contrast
On white
11.41
#3E1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3E1D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1D99
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1D99 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#09425B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e1d99; /* rgb */ color: rgb(62, 29, 153); /* oklch */ color: oklch(36.9% 0.183 285.3);
Tailwind
colors: {
custom: {
50: '#7f5eb8',
500: '#3e1d99',
950: '#000000',
},
}SCSS
$custom: #3e1d99; $custom-light: #7f5eb8; $custom-dark: #000000;
JSON
{
"hex": "#3e1d99",
"rgb": {
"r": 62,
"g": 29,
"b": 153
},
"hsl": {
"h": 255.968,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.36892,
"c": 0.18321,
"h": 285.3
},
"luminance": 0.04203
}Semantic roles & 50–950 ramp
primary
#3E1D99
secondary
#A3C151
accent
#EB3DBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981