#3E1D9F#3E1D9F
#3E1D9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.190 H 284.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1D9F |
|---|---|
| RGB | rgb(62, 29, 159) |
| HSL | hsl(255, 69%, 37%) |
| HSV | hsv(255, 82%, 62%) |
| CMYK | cmyk(61%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(24.97, 48.59, -63.96) |
| CIE-LCH | lch(24.97, 80.32, 307.22°) |
| OKLab | oklab(37.53% 0.0463 -0.1844) |
| OKLCH | oklch(37.53% 0.19 284.1) |
| XYZ | xyz(8.6821, 4.4055, 33.1870) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.49
Ultramarine
#2000B1
ΔE00 4.56
Cobalt Blue
#030AA7
ΔE00 4.89
Royal
#0C1793
ΔE00 4.98
Royal Blue (survey)
#0504AA
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1D9F #7E9F1D
analogous
#1D3D9F #3E1D9F #7F1D9F
triadic
#3E1D9F #9F3E1D #1D9F3E
tetradic
#3E1D9F #9F1D3D #7E9F1D #1D9F7F
square
#3E1D9F #9F1D3D #7E9F1D #1D9F7F
split-complementary
#3E1D9F #9F7F1D #3D9F1D
monochromatic
#160A37 #2A146B #3E1D9F #5226D3 #7956E0
Accessibility & contrast
On white
11.16
#3E1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3E1D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1D9F
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1D9F | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e1d9f; /* rgb */ color: rgb(62, 29, 159); /* oklch */ color: oklch(37.5% 0.190 284.1);
Tailwind
colors: {
custom: {
50: '#805fbd',
500: '#3e1d9f',
950: '#000000',
},
}SCSS
$custom: #3e1d9f; $custom-light: #805fbd; $custom-dark: #000000;
JSON
{
"hex": "#3e1d9f",
"rgb": {
"r": 62,
"g": 29,
"b": 159
},
"hsl": {
"h": 255.231,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.37525,
"c": 0.19009,
"h": 284.1
},
"luminance": 0.04406
}Semantic roles & 50–950 ramp
primary
#3E1D9F
secondary
#A7C454
accent
#EC3CBF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981