#772B7A#772B7A
#772B7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.146 H 326.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #772B7A |
|---|---|
| RGB | rgb(119, 43, 122) |
| HSL | hsl(298, 48%, 32%) |
| HSV | hsv(298, 65%, 48%) |
| CMYK | cmyk(2.5%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(31.93, 44.11, -29.39) |
| CIE-LCH | lch(31.93, 53.01, 326.33°) |
| OKLab | oklab(43.2% 0.1215 -0.0813) |
| OKLCH | oklch(43.2% 0.146 326.2) |
| XYZ | xyz(11.9842, 7.0556, 19.1392) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.08
Purple
#800080
ΔE00 4.74
Darkmagenta
#8B008B
ΔE00 5.45
Warm Purple
#952E8F
ΔE00 6.22
Purple (survey)
#7E1E9C
ΔE00 6.69
Grape
#6C3461
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772B7A #2E7A2B
analogous
#502B7A #772B7A #7A2B55
triadic
#772B7A #7A772B #2B7A77
tetradic
#772B7A #7A502B #2E7A2B #2B557A
square
#772B7A #7A502B #2E7A2B #2B557A
split-complementary
#772B7A #557A2B #2B7A50
monochromatic
#1F0B1F #4B1B4D #772B7A #A33BA7 #C15AC5
Accessibility & contrast
On white
8.71
#772B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#772B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772B7A
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772B7A | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#7A364E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #772b7a; /* rgb */ color: rgb(119, 43, 122); /* oklch */ color: oklch(43.2% 0.146 326.2);
Tailwind
colors: {
custom: {
50: '#a16aa1',
500: '#772b7a',
950: '#000000',
},
}SCSS
$custom: #772b7a; $custom-light: #a16aa1; $custom-dark: #000000;
JSON
{
"hex": "#772b7a",
"rgb": {
"r": 119,
"g": 43,
"b": 122
},
"hsl": {
"h": 297.722,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.43202,
"c": 0.14622,
"h": 326.2
},
"luminance": 0.07055
}Semantic roles & 50–950 ramp
primary
#772B7A
secondary
#59AB56
accent
#D75055
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E