#772B6E#772B6E
#772B6E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.5% C 0.136 H 332.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #772B6E |
|---|---|
| RGB | rgb(119, 43, 110) |
| HSL | hsl(307, 47%, 32%) |
| HSV | hsv(307, 64%, 47%) |
| CMYK | cmyk(0%, 63.9%, 7.6%, 53.3%) |
| CIE-LAB | lab(31.29, 41.91, -22.81) |
| CIE-LCH | lch(31.29, 47.71, 331.45°) |
| OKLab | oklab(42.53% 0.1203 -0.0624) |
| OKLCH | oklch(42.53% 0.136 332.6) |
| XYZ | xyz(11.2861, 6.7763, 15.4624) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.85
Grape
#6C3461
ΔE00 4.51
Bruise
#7E4071
ΔE00 5.59
Purple
#800080
ΔE00 6.26
Rich Purple
#720058
ΔE00 6.38
Darkmagenta
#8B008B
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772B6E #2B7734
analogous
#5A2B77 #772B6E #772B48
triadic
#772B6E #6E772B #2B6E77
tetradic
#772B6E #775A2B #2B7734 #2B4877
square
#772B6E #775A2B #2B7734 #2B4877
split-complementary
#772B6E #48772B #2B775A
monochromatic
#1D0B1B #4A1B44 #772B6E #A43B98 #C359B7
Accessibility & contrast
On white
8.92
#772B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#772B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772B6E
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772B6E | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#414E6C
Tritanopia (blue-blind)
#7C3148
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #772b6e; /* rgb */ color: rgb(119, 43, 110); /* oklch */ color: oklch(42.5% 0.136 332.6);
Tailwind
colors: {
custom: {
50: '#a16a98',
500: '#772b6e',
950: '#000000',
},
}SCSS
$custom: #772b6e; $custom-light: #a16a98; $custom-dark: #000000;
JSON
{
"hex": "#772b6e",
"rgb": {
"r": 119,
"g": 43,
"b": 110
},
"hsl": {
"h": 307.105,
"s": 46.914,
"l": 31.765
},
"oklch": {
"l": 0.42528,
"c": 0.13552,
"h": 332.6
},
"luminance": 0.06775
}Semantic roles & 50–950 ramp
primary
#772B6E
secondary
#55A95F
accent
#D76151
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E