#771B71#771B71
#771B71 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 330.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #771B71 |
|---|---|
| RGB | rgb(119, 27, 113) |
| HSL | hsl(304, 63%, 29%) |
| HSV | hsv(304, 77%, 47%) |
| CMYK | cmyk(0%, 77.3%, 5%, 53.3%) |
| CIE-LAB | lab(29.16, 48.88, -28.08) |
| CIE-LCH | lch(29.16, 56.37, 330.12°) |
| OKLab | oklab(41.04% 0.1393 -0.0774) |
| OKLCH | oklch(41.04% 0.159 330.9) |
| XYZ | xyz(10.9803, 5.8989, 16.1799) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 0.91
Purple
#800080
ΔE00 3.55
Darkmagenta
#8B008B
ΔE00 5.24
Rich Purple
#720058
ΔE00 5.42
Grape Purple
#5D1451
ΔE00 6.92
Grape
#6C3461
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#771B71 #1B7721
analogous
#4F1B77 #771B71 #771B43
triadic
#771B71 #71771B #1B7177
tetradic
#771B71 #774F1B #1B7721 #1B4377
square
#771B71 #774F1B #1B7721 #1B4377
split-complementary
#771B71 #43771B #1B774F
monochromatic
#190618 #451042 #771B71 #A926A0 #D23AC8
Accessibility & contrast
On white
9.63
#771B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#771B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #771B71
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##771B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##771B71 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113D73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#7C2744
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #771b71; /* rgb */ color: rgb(119, 27, 113); /* oklch */ color: oklch(41.0% 0.159 330.9);
Tailwind
colors: {
custom: {
50: '#a1629a',
500: '#771b71',
950: '#000000',
},
}SCSS
$custom: #771b71; $custom-light: #a1629a; $custom-dark: #000000;
JSON
{
"hex": "#771b71",
"rgb": {
"r": 119,
"g": 27,
"b": 113
},
"hsl": {
"h": 303.913,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.41035,
"c": 0.15932,
"h": 330.9
},
"luminance": 0.05898
}Semantic roles & 50–950 ramp
primary
#771B71
secondary
#42AB49
accent
#E64C42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E