#3E1F90#3E1F90
#3E1F90 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.171 H 286.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1F90 |
|---|---|
| RGB | rgb(62, 31, 144) |
| HSL | hsl(256, 65%, 34%) |
| HSV | hsv(256, 78%, 56%) |
| CMYK | cmyk(56.9%, 78.5%, 0%, 43.5%) |
| CIE-LAB | lab(23.73, 43.30, -56.78) |
| CIE-LCH | lch(23.73, 71.41, 307.33°) |
| OKLab | oklab(36.2% 0.0497 -0.1634) |
| OKLCH | oklch(36.2% 0.171 286.9) |
| XYZ | xyz(7.5091, 4.0173, 26.7599) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 4.76
Royal
#0C1793
ΔE00 4.94
Indigo
#4B0082
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.96
Ultramarine
#2000B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1F90 #71901F
analogous
#1F3990 #3E1F90 #771F90
triadic
#3E1F90 #903E1F #1F903E
tetradic
#3E1F90 #901F39 #71901F #1F9077
square
#3E1F90 #901F39 #71901F #1F9077
split-complementary
#3E1F90 #90771F #39901F
monochromatic
#13092B #28145E #3E1F90 #542AC2 #7650D9
Accessibility & contrast
On white
11.64
#3E1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3E1F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1F90
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1F90 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#193F57
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e1f90; /* rgb */ color: rgb(62, 31, 144); /* oklch */ color: oklch(36.2% 0.171 286.9);
Tailwind
colors: {
custom: {
50: '#7d5fb2',
500: '#3e1f90',
950: '#000000',
},
}SCSS
$custom: #3e1f90; $custom-light: #7d5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1f90",
"rgb": {
"r": 62,
"g": 31,
"b": 144
},
"hsl": {
"h": 256.46,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.36195,
"c": 0.17082,
"h": 286.9
},
"luminance": 0.04018
}Semantic roles & 50–950 ramp
primary
#3E1F90
secondary
#9EBC4E
accent
#E840BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980