#3E1E9A#3E1E9A
#3E1E9A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.183 H 284.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E9A |
|---|---|
| RGB | rgb(62, 30, 154) |
| HSL | hsl(255, 67%, 36%) |
| HSV | hsv(255, 81%, 60%) |
| CMYK | cmyk(59.7%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(24.59, 46.70, -61.52) |
| CIE-LCH | lch(24.59, 77.24, 307.20°) |
| OKLab | oklab(37.11% 0.0473 -0.1773) |
| OKLCH | oklch(37.11% 0.183 284.9) |
| XYZ | xyz(8.2818, 4.2853, 30.9563) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.21
Royal
#0C1793
ΔE00 4.85
Ultramarine
#2000B1
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.38
Royal Blue (survey)
#0504AA
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E9A #7A9A1E
analogous
#1E3C9A #3E1E9A #7C1E9A
triadic
#3E1E9A #9A3E1E #1E9A3E
tetradic
#3E1E9A #9A1E3C #7A9A1E #1E9A7C
square
#3E1E9A #9A1E3C #7A9A1E #1E9A7C
split-complementary
#3E1E9A #9A7C1E #3C9A1E
monochromatic
#150A34 #291467 #3E1E9A #5328CD #7855DE
Accessibility & contrast
On white
11.31
#3E1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3E1E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E9A
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E9A | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#06435C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e1e9a; /* rgb */ color: rgb(62, 30, 154); /* oklch */ color: oklch(37.1% 0.183 284.9);
Tailwind
colors: {
custom: {
50: '#7f5fb9',
500: '#3e1e9a',
950: '#000000',
},
}SCSS
$custom: #3e1e9a; $custom-light: #7f5fb9; $custom-dark: #000000;
JSON
{
"hex": "#3e1e9a",
"rgb": {
"r": 62,
"g": 30,
"b": 154
},
"hsl": {
"h": 255.484,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.37106,
"c": 0.18348,
"h": 284.9
},
"luminance": 0.04286
}Semantic roles & 50–950 ramp
primary
#3E1E9A
secondary
#A5C153
accent
#EA3EBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981