#772F78#772F78
#772F78 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.138 H 327.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #772F78 |
|---|---|
| RGB | rgb(119, 47, 120) |
| HSL | hsl(299, 44%, 33%) |
| HSV | hsv(299, 61%, 47%) |
| CMYK | cmyk(0.8%, 60.8%, 0%, 52.9%) |
| CIE-LAB | lab(32.51, 41.85, -27.23) |
| CIE-LCH | lch(32.51, 49.93, 326.95°) |
| OKLab | oklab(43.58% 0.1161 -0.0751) |
| OKLCH | oklch(43.58% 0.138 327.1) |
| XYZ | xyz(12.0142, 7.3118, 18.5442) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.85
Purple
#800080
ΔE00 5.71
Grape
#6C3461
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.05
Warm Purple
#952E8F
ΔE00 6.25
Darkmagenta
#8B008B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772F78 #30782F
analogous
#522F78 #772F78 #782F54
triadic
#772F78 #78772F #2F7877
tetradic
#772F78 #78522F #30782F #2F5478
square
#772F78 #78522F #30782F #2F5478
split-complementary
#772F78 #54782F #2F7852
monochromatic
#200D20 #4B1E4C #772F78 #A340A4 #C060C1
Accessibility & contrast
On white
8.53
#772F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#772F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772F78
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772F78 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#7A384F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #772f78; /* rgb */ color: rgb(119, 47, 120); /* oklch */ color: oklch(43.6% 0.138 327.1);
Tailwind
colors: {
custom: {
50: '#a16c9f',
500: '#772f78',
950: '#000000',
},
}SCSS
$custom: #772f78; $custom-light: #a16c9f; $custom-dark: #000000;
JSON
{
"hex": "#772f78",
"rgb": {
"r": 119,
"g": 47,
"b": 120
},
"hsl": {
"h": 299.178,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.43584,
"c": 0.13826,
"h": 327.1
},
"luminance": 0.07311
}Semantic roles & 50–950 ramp
primary
#772F78
secondary
#5CA85B
accent
#D35456
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E