#3F2E76#3F2E76
#3F2E76 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.118 H 290.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2E76 |
|---|---|
| RGB | rgb(63, 46, 118) |
| HSL | hsl(254, 44%, 32%) |
| HSV | hsv(254, 61%, 46%) |
| CMYK | cmyk(46.6%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(24.70, 26.89, -38.86) |
| CIE-LCH | lch(24.70, 47.25, 304.68°) |
| OKLab | oklab(36.21% 0.0406 -0.1108) |
| OKLCH | oklch(36.21% 0.118 290.1) |
| XYZ | xyz(6.2960, 4.3185, 17.6379) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.08
Blueberry
#464196
ΔE00 7.14
Midnight Blue
#191970
ΔE00 7.33
Rebeccapurple
#663399
ΔE00 8.72
Indigo
#4B0082
ΔE00 9.16
Indigo (survey)
#380282
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2E76 #65762E
analogous
#2E4176 #3F2E76 #632E76
triadic
#3F2E76 #763F2E #2E763F
tetradic
#3F2E76 #762E41 #65762E #2E7663
square
#3F2E76 #762E41 #65762E #2E7663
split-complementary
#3F2E76 #76632E #41762E
monochromatic
#100C1E #271D4A #3F2E76 #573FA2 #755EC0
Accessibility & contrast
On white
11.27
#3F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2E76
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2E76 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#2F3E4D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2e76; /* rgb */ color: rgb(63, 46, 118); /* oklch */ color: oklch(36.2% 0.118 290.1);
Tailwind
colors: {
custom: {
50: '#79679e',
500: '#3f2e76',
950: '#000000',
},
}SCSS
$custom: #3f2e76; $custom-light: #79679e; $custom-dark: #000000;
JSON
{
"hex": "#3f2e76",
"rgb": {
"r": 63,
"g": 46,
"b": 118
},
"hsl": {
"h": 254.167,
"s": 43.902,
"l": 32.157
},
"oklch": {
"l": 0.36211,
"c": 0.11803,
"h": 290.1
},
"luminance": 0.04319
}Semantic roles & 50–950 ramp
primary
#3F2E76
secondary
#95A759
accent
#D454B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E