#77226E#77226E
#77226E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 332.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #77226E |
|---|---|
| RGB | rgb(119, 34, 110) |
| HSL | hsl(306, 56%, 30%) |
| HSV | hsv(306, 71%, 47%) |
| CMYK | cmyk(0%, 71.4%, 7.6%, 53.3%) |
| CIE-LAB | lab(29.89, 45.80, -25.00) |
| CIE-LCH | lch(29.89, 52.18, 331.38°) |
| OKLab | oklab(41.51% 0.1316 -0.0686) |
| OKLCH | oklch(41.51% 0.148 332.5) |
| XYZ | xyz(10.9943, 6.1927, 15.3651) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.29
Purple
#800080
ΔE00 4.85
Rich Purple
#720058
ΔE00 5.33
Grape
#6C3461
ΔE00 5.86
Darkmagenta
#8B008B
ΔE00 6.19
Grape Purple
#5D1451
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77226E #22772B
analogous
#562277 #77226E #772243
triadic
#77226E #6E7722 #226E77
tetradic
#77226E #775622 #22772B #224377
square
#77226E #775622 #22772B #224377
split-complementary
#77226E #437722 #227756
monochromatic
#180716 #471442 #77226E #A7309A #CB49BD
Accessibility & contrast
On white
9.38
#77226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#77226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #77226E
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##77226E | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#7C2A45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #77226e; /* rgb */ color: rgb(119, 34, 110); /* oklch */ color: oklch(41.5% 0.148 332.5);
Tailwind
colors: {
custom: {
50: '#a16598',
500: '#77226e',
950: '#000000',
},
}SCSS
$custom: #77226e; $custom-light: #a16598; $custom-dark: #000000;
JSON
{
"hex": "#77226e",
"rgb": {
"r": 119,
"g": 34,
"b": 110
},
"hsl": {
"h": 306.353,
"s": 55.556,
"l": 30
},
"oklch": {
"l": 0.41512,
"c": 0.14843,
"h": 332.5
},
"luminance": 0.06192
}Semantic roles & 50–950 ramp
primary
#77226E
secondary
#4BAA55
accent
#DF5949
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E