#3E1F93#3E1F93
#3E1F93 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.174 H 286.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1F93 |
|---|---|
| RGB | rgb(62, 31, 147) |
| HSL | hsl(256, 65%, 35%) |
| HSV | hsv(256, 79%, 58%) |
| CMYK | cmyk(57.8%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(24.03, 44.18, -58.14) |
| CIE-LCH | lch(24.03, 73.02, 307.23°) |
| OKLab | oklab(36.5% 0.0488 -0.1674) |
| OKLCH | oklch(36.5% 0.174 286.2) |
| XYZ | xyz(7.7415, 4.1102, 27.9835) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.25
Royal
#0C1793
ΔE00 4.87
Indigo (survey)
#380282
ΔE00 4.95
Indigo
#4B0082
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1F93 #74931F
analogous
#1F3A93 #3E1F93 #781F93
triadic
#3E1F93 #933E1F #1F933E
tetradic
#3E1F93 #931F3A #74931F #1F9378
square
#3E1F93 #931F3A #74931F #1F9378
split-complementary
#3E1F93 #93781F #3A931F
monochromatic
#130A2E #291460 #3E1F93 #532AC6 #7652DA
Accessibility & contrast
On white
11.52
#3E1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3E1F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1F93
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1F93 | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#154058
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e1f93; /* rgb */ color: rgb(62, 31, 147); /* oklch */ color: oklch(36.5% 0.174 286.2);
Tailwind
colors: {
custom: {
50: '#7e5fb4',
500: '#3e1f93',
950: '#000000',
},
}SCSS
$custom: #3e1f93; $custom-light: #7e5fb4; $custom-dark: #000000;
JSON
{
"hex": "#3e1f93",
"rgb": {
"r": 62,
"g": 31,
"b": 147
},
"hsl": {
"h": 256.034,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36499,
"c": 0.17437,
"h": 286.2
},
"luminance": 0.04111
}Semantic roles & 50–950 ramp
primary
#3E1F93
secondary
#A0BE50
accent
#E840BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980