#771F6F#771F6F
#771F6F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.153 H 331.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #771F6F |
|---|---|
| RGB | rgb(119, 31, 111) |
| HSL | hsl(305, 59%, 29%) |
| HSV | hsv(305, 74%, 47%) |
| CMYK | cmyk(0%, 73.9%, 6.7%, 53.3%) |
| CIE-LAB | lab(29.54, 47.13, -26.19) |
| CIE-LCH | lch(29.54, 53.92, 330.93°) |
| OKLab | oklab(41.27% 0.1351 -0.072) |
| OKLCH | oklch(41.27% 0.153 331.9) |
| XYZ | xyz(10.9670, 6.0505, 15.6261) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.70
Purple
#800080
ΔE00 4.31
Rich Purple
#720058
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 5.79
Grape
#6C3461
ΔE00 6.41
Grape Purple
#5D1451
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#771F6F #1F7727
analogous
#531F77 #771F6F #771F43
triadic
#771F6F #6F771F #1F6F77
tetradic
#771F6F #77531F #1F7727 #1F4377
square
#771F6F #77531F #1F7727 #1F4377
split-complementary
#771F6F #43771F #1F7753
monochromatic
#180617 #461242 #771F6F #A82C9C #CE43C1
Accessibility & contrast
On white
9.50
#771F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#771F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #771F6F
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##771F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##771F6F | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#7C2944
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #771f6f; /* rgb */ color: rgb(119, 31, 111); /* oklch */ color: oklch(41.3% 0.153 331.9);
Tailwind
colors: {
custom: {
50: '#a16498',
500: '#771f6f',
950: '#000000',
},
}SCSS
$custom: #771f6f; $custom-light: #a16498; $custom-dark: #000000;
JSON
{
"hex": "#771f6f",
"rgb": {
"r": 119,
"g": 31,
"b": 111
},
"hsl": {
"h": 305.455,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.41274,
"c": 0.15306,
"h": 331.9
},
"luminance": 0.0605
}Semantic roles & 50–950 ramp
primary
#771F6F
secondary
#47AB50
accent
#E25446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E