#772B78#772B78
#772B78 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.144 H 327.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #772B78 |
|---|---|
| RGB | rgb(119, 43, 120) |
| HSL | hsl(299, 47%, 32%) |
| HSV | hsv(299, 64%, 47%) |
| CMYK | cmyk(0.8%, 64.2%, 0%, 52.9%) |
| CIE-LAB | lab(31.82, 43.74, -28.31) |
| CIE-LCH | lch(31.82, 52.10, 327.09°) |
| OKLab | oklab(43.09% 0.1214 -0.0782) |
| OKLCH | oklch(43.09% 0.144 327.2) |
| XYZ | xyz(11.8616, 7.0065, 18.4933) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.03
Purple
#800080
ΔE00 4.91
Darkmagenta
#8B008B
ΔE00 5.67
Warm Purple
#952E8F
ΔE00 6.33
Grape
#6C3461
ΔE00 6.40
Bruise
#7E4071
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772B78 #2C782B
analogous
#512B78 #772B78 #782B53
triadic
#772B78 #78772B #2B7877
tetradic
#772B78 #78512B #2C782B #2B5378
square
#772B78 #78512B #2C782B #2B5378
split-complementary
#772B78 #53782B #2B7851
monochromatic
#1E0B1E #4A1B4B #772B78 #A43BA5 #C25AC4
Accessibility & contrast
On white
8.75
#772B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#772B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772B78
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772B78 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#7A354D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #772b78; /* rgb */ color: rgb(119, 43, 120); /* oklch */ color: oklch(43.1% 0.144 327.2);
Tailwind
colors: {
custom: {
50: '#a16a9f',
500: '#772b78',
950: '#000000',
},
}SCSS
$custom: #772b78; $custom-light: #a16a9f; $custom-dark: #000000;
JSON
{
"hex": "#772b78",
"rgb": {
"r": 119,
"g": 43,
"b": 120
},
"hsl": {
"h": 299.221,
"s": 47.239,
"l": 31.961
},
"oklch": {
"l": 0.43085,
"c": 0.14439,
"h": 327.2
},
"luminance": 0.07006
}Semantic roles & 50–950 ramp
primary
#772B78
secondary
#56AA55
accent
#D75153
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E