#3F216F#3F216F
#3F216F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.128 H 296.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F216F |
|---|---|
| RGB | rgb(63, 33, 111) |
| HSL | hsl(263, 54%, 28%) |
| HSV | hsv(263, 70%, 44%) |
| CMYK | cmyk(43.2%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(21.18, 32.70, -40.07) |
| CIE-LCH | lch(21.18, 51.72, 309.22°) |
| OKLab | oklab(33.48% 0.057 -0.1144) |
| OKLCH | oklch(33.48% 0.128 296.5) |
| XYZ | xyz(5.4622, 3.2921, 15.3835) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.96
Midnight Blue
#191970
ΔE00 6.30
Indigo
#4B0082
ΔE00 6.33
Indigo (survey)
#380282
ΔE00 6.58
Dark Indigo
#1F0954
ΔE00 7.42
Darkslateblue
#483D8B
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F216F #516F21
analogous
#212A6F #3F216F #66216F
triadic
#3F216F #6F3F21 #216F3F
tetradic
#3F216F #6F212A #516F21 #216F66
square
#3F216F #6F212A #516F21 #216F66
split-complementary
#3F216F #6F6621 #2A6F21
monochromatic
#0D0718 #241340 #3F216F #5A2F9E #7643C7
Accessibility & contrast
On white
12.66
#3F216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3F216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F216F
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F216F | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#333445
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3f216f; /* rgb */ color: rgb(63, 33, 111); /* oklch */ color: oklch(33.5% 0.128 296.5);
Tailwind
colors: {
custom: {
50: '#795e99',
500: '#3f216f',
950: '#000000',
},
}SCSS
$custom: #3f216f; $custom-light: #795e99; $custom-dark: #000000;
JSON
{
"hex": "#3f216f",
"rgb": {
"r": 63,
"g": 33,
"b": 111
},
"hsl": {
"h": 263.077,
"s": 54.167,
"l": 28.235
},
"oklch": {
"l": 0.33479,
"c": 0.12781,
"h": 296.5
},
"luminance": 0.03292
}Semantic roles & 50–950 ramp
primary
#3F216F
secondary
#80A349
accent
#DE4AA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E