#3E2091#3E2091
#3E2091 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.171 H 286.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2091 |
|---|---|
| RGB | rgb(62, 32, 145) |
| HSL | hsl(256, 64%, 35%) |
| HSV | hsv(256, 78%, 57%) |
| CMYK | cmyk(57.2%, 77.9%, 0%, 43.1%) |
| CIE-LAB | lab(24.00, 43.10, -56.95) |
| CIE-LCH | lch(24.00, 71.42, 307.12°) |
| OKLab | oklab(36.42% 0.0487 -0.1639) |
| OKLCH | oklch(36.42% 0.171 286.5) |
| XYZ | xyz(7.6124, 4.1011, 27.1730) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.59
Royal
#0C1793
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 5.98
Ultramarine
#2000B1
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2091 #739120
analogous
#203B91 #3E2091 #772091
triadic
#3E2091 #913E20 #20913E
tetradic
#3E2091 #91203B #739120 #209177
square
#3E2091 #91203B #739120 #209177
split-complementary
#3E2091 #917720 #3B9120
monochromatic
#130A2D #29155F #3E2091 #532BC3 #7652D9
Accessibility & contrast
On white
11.54
#3E2091 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3E2091 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2091
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2091 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#174057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e2091; /* rgb */ color: rgb(62, 32, 145); /* oklch */ color: oklch(36.4% 0.171 286.5);
Tailwind
colors: {
custom: {
50: '#7d5fb2',
500: '#3e2091',
950: '#000000',
},
}SCSS
$custom: #3e2091; $custom-light: #7d5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3e2091",
"rgb": {
"r": 62,
"g": 32,
"b": 145
},
"hsl": {
"h": 255.929,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.36417,
"c": 0.17101,
"h": 286.5
},
"luminance": 0.04101
}Semantic roles & 50–950 ramp
primary
#3E2091
secondary
#A0BC51
accent
#E741BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980