#3F2E8A#3F2E8A
#3F2E8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.146 H 285.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2E8A |
|---|---|
| RGB | rgb(63, 46, 138) |
| HSL | hsl(251, 50%, 36%) |
| HSV | hsv(251, 67%, 54%) |
| CMYK | cmyk(54.3%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(26.29, 33.25, -48.86) |
| CIE-LCH | lch(26.29, 59.10, 304.24°) |
| OKLab | oklab(37.87% 0.0391 -0.1402) |
| OKLCH | oklch(37.87% 0.146 285.6) |
| XYZ | xyz(7.6130, 4.8453, 24.5739) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.44
Blueberry
#464196
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.93
Royal
#0C1793
ΔE00 7.17
Indigo Blue
#3A18B1
ΔE00 7.26
Rebeccapurple
#663399
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2E8A #798A2E
analogous
#2E4B8A #3F2E8A #6D2E8A
triadic
#3F2E8A #8A3F2E #2E8A3F
tetradic
#3F2E8A #8A2E4B #798A2E #2E8A6D
square
#3F2E8A #8A2E4B #798A2E #2E8A6D
split-complementary
#3F2E8A #8A6D2E #4B8A2E
monochromatic
#150F2E #2A1F5C #3F2E8A #543DB8 #7966CC
Accessibility & contrast
On white
10.66
#3F2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3F2E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2E8A
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2E8A | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#214557
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f2e8a; /* rgb */ color: rgb(63, 46, 138); /* oklch */ color: oklch(37.9% 0.146 285.6);
Tailwind
colors: {
custom: {
50: '#7c68ad',
500: '#3f2e8a',
950: '#000000',
},
}SCSS
$custom: #3f2e8a; $custom-light: #7c68ad; $custom-dark: #000000;
JSON
{
"hex": "#3f2e8a",
"rgb": {
"r": 63,
"g": 46,
"b": 138
},
"hsl": {
"h": 251.087,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.37873,
"c": 0.1456,
"h": 285.6
},
"luminance": 0.04846
}Semantic roles & 50–950 ramp
primary
#3F2E8A
secondary
#A4B361
accent
#DA4EC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F