#772E71#772E71
#772E71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.133 H 330.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #772E71 |
|---|---|
| RGB | rgb(119, 46, 113) |
| HSL | hsl(305, 44%, 32%) |
| HSV | hsv(305, 61%, 47%) |
| CMYK | cmyk(0%, 61.3%, 5%, 53.3%) |
| CIE-LAB | lab(31.96, 41.03, -23.66) |
| CIE-LCH | lch(31.96, 47.36, 330.03°) |
| OKLab | oklab(43.07% 0.1166 -0.0648) |
| OKLCH | oklch(43.07% 0.133 330.9) |
| XYZ | xyz(11.5653, 7.0690, 16.3749) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.08
Grape
#6C3461
ΔE00 4.63
Bruise
#7E4071
ΔE00 5.27
Purple
#800080
ΔE00 6.36
Light Eggplant
#894585
ΔE00 6.79
Warm Purple
#952E8F
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772E71 #2E7734
analogous
#592E77 #772E71 #772E4C
triadic
#772E71 #71772E #2E7177
tetradic
#772E71 #77592E #2E7734 #2E4C77
square
#772E71 #77592E #2E7734 #2E4C77
split-complementary
#772E71 #4C772E #2E7759
monochromatic
#1F0C1D #4B1D47 #772E71 #A33F9B #C15EB9
Accessibility & contrast
On white
8.70
#772E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#772E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772E71
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772E71 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#7C354B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #772e71; /* rgb */ color: rgb(119, 46, 113); /* oklch */ color: oklch(43.1% 0.133 330.9);
Tailwind
colors: {
custom: {
50: '#a16c9a',
500: '#772e71',
950: '#000000',
},
}SCSS
$custom: #772e71; $custom-light: #a16c9a; $custom-dark: #000000;
JSON
{
"hex": "#772e71",
"rgb": {
"r": 119,
"g": 46,
"b": 113
},
"hsl": {
"h": 304.932,
"s": 44.242,
"l": 32.353
},
"oklch": {
"l": 0.43068,
"c": 0.13345,
"h": 330.9
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#772E71
secondary
#59A860
accent
#D45E54
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E