#3E1E90#3E1E90
#3E1E90 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.172 H 287.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E90 |
|---|---|
| RGB | rgb(62, 30, 144) |
| HSL | hsl(257, 66%, 34%) |
| HSV | hsv(257, 79%, 56%) |
| CMYK | cmyk(56.9%, 79.2%, 0%, 43.5%) |
| CIE-LAB | lab(23.56, 43.79, -57.06) |
| CIE-LCH | lch(23.56, 71.93, 307.50°) |
| OKLab | oklab(36.08% 0.0504 -0.1642) |
| OKLCH | oklch(36.08% 0.172 287.1) |
| XYZ | xyz(7.4834, 3.9659, 26.7513) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.58
Indigo Blue
#3A18B1
ΔE00 4.66
Royal
#0C1793
ΔE00 4.89
Indigo
#4B0082
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 5.87
Ultramarine
#2000B1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E90 #70901E
analogous
#1E3790 #3E1E90 #771E90
triadic
#3E1E90 #903E1E #1E903E
tetradic
#3E1E90 #901E37 #70901E #1E9077
square
#3E1E90 #901E37 #70901E #1E9077
split-complementary
#3E1E90 #90771E #37901E
monochromatic
#12092B #28135D #3E1E90 #5429C3 #764EDA
Accessibility & contrast
On white
11.71
#3E1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3E1E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E90
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E90 | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#193F56
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e1e90; /* rgb */ color: rgb(62, 30, 144); /* oklch */ color: oklch(36.1% 0.172 287.1);
Tailwind
colors: {
custom: {
50: '#7d5eb2',
500: '#3e1e90',
950: '#000000',
},
}SCSS
$custom: #3e1e90; $custom-light: #7d5eb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1e90",
"rgb": {
"r": 62,
"g": 30,
"b": 144
},
"hsl": {
"h": 256.842,
"s": 65.517,
"l": 34.118
},
"oklch": {
"l": 0.36076,
"c": 0.17181,
"h": 287.1
},
"luminance": 0.03966
}Semantic roles & 50–950 ramp
primary
#3E1E90
secondary
#9DBD4D
accent
#E83FB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980