#3F2A84#3F2A84
#3F2A84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.143 H 287.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2A84 |
|---|---|
| RGB | rgb(63, 42, 132) |
| HSL | hsl(254, 52%, 34%) |
| HSV | hsv(254, 68%, 52%) |
| CMYK | cmyk(52.3%, 68.2%, 0%, 48.2%) |
| CIE-LAB | lab(24.88, 33.77, -47.40) |
| CIE-LCH | lch(24.88, 58.20, 305.47°) |
| OKLab | oklab(36.7% 0.044 -0.136) |
| OKLCH | oklch(36.7% 0.143 287.9) |
| XYZ | xyz(7.0415, 4.3783, 22.2994) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.39
Midnight Blue
#191970
ΔE00 6.60
Blueberry
#464196
ΔE00 6.81
Royal
#0C1793
ΔE00 6.98
Indigo (survey)
#380282
ΔE00 7.12
Indigo
#4B0082
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2A84 #6F842A
analogous
#2A4284 #3F2A84 #6C2A84
triadic
#3F2A84 #843F2A #2A843F
tetradic
#3F2A84 #842A42 #6F842A #2A846C
square
#3F2A84 #842A42 #6F842A #2A846C
split-complementary
#3F2A84 #846C2A #42842A
monochromatic
#130C27 #291B56 #3F2A84 #5539B2 #775DCB
Accessibility & contrast
On white
11.20
#3F2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3F2A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2A84
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2A84 | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#264053
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2a84; /* rgb */ color: rgb(63, 42, 132); /* oklch */ color: oklch(36.7% 0.143 287.9);
Tailwind
colors: {
custom: {
50: '#7b65a9',
500: '#3f2a84',
950: '#000000',
},
}SCSS
$custom: #3f2a84; $custom-light: #7b65a9; $custom-dark: #000000;
JSON
{
"hex": "#3f2a84",
"rgb": {
"r": 63,
"g": 42,
"b": 132
},
"hsl": {
"h": 254,
"s": 51.724,
"l": 34.118
},
"oklch": {
"l": 0.36699,
"c": 0.14291,
"h": 287.9
},
"luminance": 0.04379
}Semantic roles & 50–950 ramp
primary
#3F2A84
secondary
#9CB159
accent
#DB4DBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F