#3E2691#3E2691
#3E2691 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.165 H 285.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2691 |
|---|---|
| RGB | rgb(62, 38, 145) |
| HSL | hsl(253, 58%, 36%) |
| HSV | hsv(253, 74%, 57%) |
| CMYK | cmyk(57.2%, 73.8%, 0%, 43.1%) |
| CIE-LAB | lab(25.12, 39.94, -55.11) |
| CIE-LCH | lch(25.12, 68.06, 305.93°) |
| OKLab | oklab(37.2% 0.0439 -0.1586) |
| OKLCH | oklch(37.2% 0.165 285.5) |
| XYZ | xyz(7.7890, 4.4542, 27.2319) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 5.49
Indigo (survey)
#380282
ΔE00 6.23
Indigo
#4B0082
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 6.70
Cobalt Blue
#030AA7
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2691 #799126
analogous
#264391 #3E2691 #732691
triadic
#3E2691 #913E26 #26913E
tetradic
#3E2691 #912643 #799126 #269173
square
#3E2691 #912643 #799126 #269173
split-complementary
#3E2691 #917326 #439126
monochromatic
#150D30 #291961 #3E2691 #5333C1 #785DD5
Accessibility & contrast
On white
11.11
#3E2691 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E2691 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2691
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2691 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2691 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#174359
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2691; /* rgb */ color: rgb(62, 38, 145); /* oklch */ color: oklch(37.2% 0.165 285.5);
Tailwind
colors: {
custom: {
50: '#7d63b2',
500: '#3e2691',
950: '#000000',
},
}SCSS
$custom: #3e2691; $custom-light: #7d63b2; $custom-dark: #000000;
JSON
{
"hex": "#3e2691",
"rgb": {
"r": 62,
"g": 38,
"b": 145
},
"hsl": {
"h": 253.458,
"s": 58.47,
"l": 35.882
},
"oklch": {
"l": 0.37204,
"c": 0.16458,
"h": 285.5
},
"luminance": 0.04455
}Semantic roles & 50–950 ramp
primary
#3E2691
secondary
#A4BA59
accent
#E246BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80