#771F71#771F71
#771F71 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.155 H 330.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #771F71 |
|---|---|
| RGB | rgb(119, 31, 113) |
| HSL | hsl(304, 59%, 29%) |
| HSV | hsv(304, 74%, 47%) |
| CMYK | cmyk(0%, 73.9%, 5%, 53.3%) |
| CIE-LAB | lab(29.65, 47.47, -27.30) |
| CIE-LCH | lch(29.65, 54.76, 330.10°) |
| OKLab | oklab(41.39% 0.1352 -0.0752) |
| OKLCH | oklch(41.39% 0.155 330.9) |
| XYZ | xyz(11.0783, 6.0950, 16.2126) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.35
Purple
#800080
ΔE00 3.96
Darkmagenta
#8B008B
ΔE00 5.45
Rich Purple
#720058
ΔE00 5.62
Grape
#6C3461
ΔE00 6.70
Grape Purple
#5D1451
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#771F71 #1F7725
analogous
#511F77 #771F71 #771F45
triadic
#771F71 #71771F #1F7177
tetradic
#771F71 #77511F #1F7725 #1F4577
square
#771F71 #77511F #1F7725 #1F4577
split-complementary
#771F71 #45771F #1F7751
monochromatic
#180617 #461243 #771F71 #A82C9F #CE43C4
Accessibility & contrast
On white
9.46
#771F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#771F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #771F71
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##771F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##771F71 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#7C2A46
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #771f71; /* rgb */ color: rgb(119, 31, 113); /* oklch */ color: oklch(41.4% 0.155 330.9);
Tailwind
colors: {
custom: {
50: '#a1649a',
500: '#771f71',
950: '#000000',
},
}SCSS
$custom: #771f71; $custom-light: #a1649a; $custom-dark: #000000;
JSON
{
"hex": "#771f71",
"rgb": {
"r": 119,
"g": 31,
"b": 113
},
"hsl": {
"h": 304.091,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.4139,
"c": 0.15467,
"h": 330.9
},
"luminance": 0.06094
}Semantic roles & 50–950 ramp
primary
#771F71
secondary
#47AB4E
accent
#E25146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E