#3E1D7C#3E1D7C
#3E1D7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.149 H 292.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1D7C |
|---|---|
| RGB | rgb(62, 29, 124) |
| HSL | hsl(261, 62%, 30%) |
| HSV | hsv(261, 77%, 49%) |
| CMYK | cmyk(50%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(21.42, 38.47, -48.00) |
| CIE-LCH | lch(21.42, 61.52, 308.71°) |
| OKLab | oklab(33.98% 0.0569 -0.1377) |
| OKLCH | oklch(33.98% 0.149 292.5) |
| XYZ | xyz(6.0630, 3.3579, 19.3936) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.31
Indigo
#4B0082
ΔE00 4.55
Midnight Blue
#191970
ΔE00 5.59
Royal Purple (survey)
#4B006E
ΔE00 5.74
Royal
#0C1793
ΔE00 6.51
Darkblue
#00008B
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1D7C #5B7C1D
analogous
#1D2B7C #3E1D7C #6E1D7C
triadic
#3E1D7C #7C3E1D #1D7C3E
tetradic
#3E1D7C #7C1D2B #5B7C1D #1D7C6E
square
#3E1D7C #7C1D2B #5B7C1D #1D7C6E
split-complementary
#3E1D7C #7C6E1D #2B7C1D
monochromatic
#0C0619 #25114A #3E1D7C #5729AE #7341D3
Accessibility & contrast
On white
12.56
#3E1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#3E1D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1D7C
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1D7C | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#2A364B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3e1d7c; /* rgb */ color: rgb(62, 29, 124); /* oklch */ color: oklch(34.0% 0.149 292.5);
Tailwind
colors: {
custom: {
50: '#7a5da3',
500: '#3e1d7c',
950: '#000000',
},
}SCSS
$custom: #3e1d7c; $custom-light: #7a5da3; $custom-dark: #000000;
JSON
{
"hex": "#3e1d7c",
"rgb": {
"r": 62,
"g": 29,
"b": 124
},
"hsl": {
"h": 260.842,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.33983,
"c": 0.14902,
"h": 292.5
},
"luminance": 0.03358
}Semantic roles & 50–950 ramp
primary
#3E1D7C
secondary
#8BB045
accent
#E543AD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F