#77226F#77226F
#77226F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.149 H 332.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #77226F |
|---|---|
| RGB | rgb(119, 34, 111) |
| HSL | hsl(306, 56%, 30%) |
| HSV | hsv(306, 71%, 47%) |
| CMYK | cmyk(0%, 71.4%, 6.7%, 53.3%) |
| CIE-LAB | lab(29.95, 45.97, -25.55) |
| CIE-LCH | lch(29.95, 52.60, 330.93°) |
| OKLab | oklab(41.57% 0.1317 -0.0702) |
| OKLCH | oklch(41.57% 0.149 332) |
| XYZ | xyz(11.0490, 6.2146, 15.6534) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.11
Purple
#800080
ΔE00 4.67
Rich Purple
#720058
ΔE00 5.49
Grape
#6C3461
ΔE00 6.00
Darkmagenta
#8B008B
ΔE00 6.01
Grape Purple
#5D1451
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77226F #22772A
analogous
#542277 #77226F #772245
triadic
#77226F #6F7722 #226F77
tetradic
#77226F #775422 #22772A #224577
square
#77226F #775422 #22772A #224577
split-complementary
#77226F #457722 #227754
monochromatic
#180716 #471443 #77226F #A7309B #CB49BF
Accessibility & contrast
On white
9.36
#77226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#77226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #77226F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##77226F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#7C2B45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #77226f; /* rgb */ color: rgb(119, 34, 111); /* oklch */ color: oklch(41.6% 0.149 332.0);
Tailwind
colors: {
custom: {
50: '#a16598',
500: '#77226f',
950: '#000000',
},
}SCSS
$custom: #77226f; $custom-light: #a16598; $custom-dark: #000000;
JSON
{
"hex": "#77226f",
"rgb": {
"r": 119,
"g": 34,
"b": 111
},
"hsl": {
"h": 305.647,
"s": 55.556,
"l": 30
},
"oklch": {
"l": 0.41568,
"c": 0.14924,
"h": 332
},
"luminance": 0.06214
}Semantic roles & 50–950 ramp
primary
#77226F
secondary
#4BAA54
accent
#DF5749
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E