#3F2B85#3F2B85
#3F2B85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.143 H 287.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2B85 |
|---|---|
| RGB | rgb(63, 43, 133) |
| HSL | hsl(253, 51%, 35%) |
| HSV | hsv(253, 68%, 52%) |
| CMYK | cmyk(52.6%, 67.7%, 0%, 47.8%) |
| CIE-LAB | lab(25.19, 33.48, -47.53) |
| CIE-LCH | lch(25.19, 58.14, 305.17°) |
| OKLab | oklab(36.95% 0.0429 -0.1363) |
| OKLCH | oklch(36.95% 0.143 287.5) |
| XYZ | xyz(7.1462, 4.4776, 22.6735) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 6.51
Midnight Blue
#191970
ΔE00 6.75
Royal
#0C1793
ΔE00 7.04
Indigo (survey)
#380282
ΔE00 7.37
Indigo Blue
#3A18B1
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2B85 #71852B
analogous
#2B4485 #3F2B85 #6C2B85
triadic
#3F2B85 #853F2B #2B853F
tetradic
#3F2B85 #852B44 #71852B #2B856C
square
#3F2B85 #852B44 #71852B #2B856C
split-complementary
#3F2B85 #856C2B #44852B
monochromatic
#130D29 #291C57 #3F2B85 #553AB3 #775FCB
Accessibility & contrast
On white
11.08
#3F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F2B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2B85
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2B85 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#254154
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2b85; /* rgb */ color: rgb(63, 43, 133); /* oklch */ color: oklch(36.9% 0.143 287.5);
Tailwind
colors: {
custom: {
50: '#7b66a9',
500: '#3f2b85',
950: '#000000',
},
}SCSS
$custom: #3f2b85; $custom-light: #7b66a9; $custom-dark: #000000;
JSON
{
"hex": "#3f2b85",
"rgb": {
"r": 63,
"g": 43,
"b": 133
},
"hsl": {
"h": 253.333,
"s": 51.136,
"l": 34.51
},
"oklch": {
"l": 0.36947,
"c": 0.14291,
"h": 287.5
},
"luminance": 0.04478
}Semantic roles & 50–950 ramp
primary
#3F2B85
secondary
#9EB15B
accent
#DB4DBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F