#772F71#772F71
#772F71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.132 H 330.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #772F71 |
|---|---|
| RGB | rgb(119, 47, 113) |
| HSL | hsl(305, 43%, 33%) |
| HSV | hsv(305, 61%, 47%) |
| CMYK | cmyk(0%, 60.5%, 5%, 53.3%) |
| CIE-LAB | lab(32.14, 40.54, -23.38) |
| CIE-LCH | lch(32.14, 46.80, 330.02°) |
| OKLab | oklab(43.2% 0.1152 -0.0641) |
| OKLCH | oklch(43.2% 0.132 330.9) |
| XYZ | xyz(11.6048, 7.1480, 16.3881) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.31
Grape
#6C3461
ΔE00 4.50
Bruise
#7E4071
ΔE00 5.05
Purple
#800080
ΔE00 6.56
Light Eggplant
#894585
ΔE00 6.63
Warm Purple
#952E8F
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772F71 #2F7735
analogous
#592F77 #772F71 #772F4D
triadic
#772F71 #71772F #2F7177
tetradic
#772F71 #77592F #2F7735 #2F4D77
square
#772F71 #77592F #2F7735 #2F4D77
split-complementary
#772F71 #4D772F #2F7759
monochromatic
#1F0C1E #4B1E47 #772F71 #A3409B #C060B8
Accessibility & contrast
On white
8.64
#772F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#772F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772F71
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772F71 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#7C364B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #772f71; /* rgb */ color: rgb(119, 47, 113); /* oklch */ color: oklch(43.2% 0.132 330.9);
Tailwind
colors: {
custom: {
50: '#a06c9a',
500: '#772f71',
950: '#000000',
},
}SCSS
$custom: #772f71; $custom-light: #a06c9a; $custom-dark: #000000;
JSON
{
"hex": "#772f71",
"rgb": {
"r": 119,
"g": 47,
"b": 113
},
"hsl": {
"h": 305,
"s": 43.373,
"l": 32.549
},
"oklch": {
"l": 0.43198,
"c": 0.13184,
"h": 330.9
},
"luminance": 0.07147
}Semantic roles & 50–950 ramp
primary
#772F71
secondary
#5BA761
accent
#D35F55
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E