#3E2B79#3E2B79
#3E2B79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.127 H 289.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2B79 |
|---|---|
| RGB | rgb(62, 43, 121) |
| HSL | hsl(255, 48%, 32%) |
| HSV | hsv(255, 64%, 47%) |
| CMYK | cmyk(48.8%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(24.10, 29.50, -41.73) |
| CIE-LCH | lch(24.10, 51.10, 305.26°) |
| OKLab | oklab(35.82% 0.0426 -0.1193) |
| OKLCH | oklch(35.82% 0.127 289.7) |
| XYZ | xyz(6.3007, 4.1321, 18.5510) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.48
Midnight Blue
#191970
ΔE00 6.54
Blueberry
#464196
ΔE00 7.35
Indigo (survey)
#380282
ΔE00 8.04
Indigo
#4B0082
ΔE00 8.14
Royal
#0C1793
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2B79 #66792B
analogous
#2B3F79 #3E2B79 #652B79
triadic
#3E2B79 #793E2B #2B793E
tetradic
#3E2B79 #792B3F #66792B #2B7965
square
#3E2B79 #792B3F #66792B #2B7965
split-complementary
#3E2B79 #79652B #3F792B
monochromatic
#100B1F #271B4C #3E2B79 #553BA6 #745AC4
Accessibility & contrast
On white
11.50
#3E2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3E2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2B79
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2B79 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#2B3D4D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e2b79; /* rgb */ color: rgb(62, 43, 121); /* oklch */ color: oklch(35.8% 0.127 289.7);
Tailwind
colors: {
custom: {
50: '#7965a0',
500: '#3e2b79',
950: '#000000',
},
}SCSS
$custom: #3e2b79; $custom-light: #7965a0; $custom-dark: #000000;
JSON
{
"hex": "#3e2b79",
"rgb": {
"r": 62,
"g": 43,
"b": 121
},
"hsl": {
"h": 254.615,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.35824,
"c": 0.12672,
"h": 289.7
},
"luminance": 0.04132
}Semantic roles & 50–950 ramp
primary
#3E2B79
secondary
#96AA56
accent
#D751B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E