#3F2A86#3F2A86
#3F2A86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.146 H 287.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2A86 |
|---|---|
| RGB | rgb(63, 42, 134) |
| HSL | hsl(254, 52%, 35%) |
| HSV | hsv(254, 69%, 53%) |
| CMYK | cmyk(53%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(25.06, 34.40, -48.37) |
| CIE-LCH | lch(25.06, 59.35, 305.42°) |
| OKLab | oklab(36.88% 0.0438 -0.1388) |
| OKLCH | oklch(36.88% 0.146 287.5) |
| XYZ | xyz(7.1797, 4.4336, 23.0271) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.40
Midnight Blue
#191970
ΔE00 6.68
Blueberry
#464196
ΔE00 6.71
Royal
#0C1793
ΔE00 6.79
Indigo (survey)
#380282
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2A86 #71862A
analogous
#2A4386 #3F2A86 #6D2A86
triadic
#3F2A86 #863F2A #2A863F
tetradic
#3F2A86 #862A43 #71862A #2A866D
square
#3F2A86 #862A43 #71862A #2A866D
split-complementary
#3F2A86 #866D2A #43862A
monochromatic
#130D29 #291B57 #3F2A86 #5539B5 #775ECD
Accessibility & contrast
On white
11.13
#3F2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3F2A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2A86
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2A86 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#244154
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2a86; /* rgb */ color: rgb(63, 42, 134); /* oklch */ color: oklch(36.9% 0.146 287.5);
Tailwind
colors: {
custom: {
50: '#7b65aa',
500: '#3f2a86',
950: '#000000',
},
}SCSS
$custom: #3f2a86; $custom-light: #7b65aa; $custom-dark: #000000;
JSON
{
"hex": "#3f2a86",
"rgb": {
"r": 63,
"g": 42,
"b": 134
},
"hsl": {
"h": 253.696,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.36876,
"c": 0.14555,
"h": 287.5
},
"luminance": 0.04434
}Semantic roles & 50–950 ramp
primary
#3F2A86
secondary
#9EB25A
accent
#DC4CBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F