#773271#773271
#773271 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.6% C 0.127 H 331.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #773271 |
|---|---|
| RGB | rgb(119, 50, 113) |
| HSL | hsl(305, 41%, 33%) |
| HSV | hsv(305, 58%, 47%) |
| CMYK | cmyk(0%, 58%, 5%, 53.3%) |
| CIE-LAB | lab(32.69, 39.05, -22.52) |
| CIE-LCH | lch(32.69, 45.08, 330.02°) |
| OKLab | oklab(43.6% 0.1109 -0.0616) |
| OKLCH | oklch(43.6% 0.127 331) |
| XYZ | xyz(11.7289, 7.3962, 16.4294) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 4.14
Bruise
#7E4071
ΔE00 4.39
Darkish Purple
#751973
ΔE00 5.01
Light Eggplant
#894585
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 7.05
Purple
#800080
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#773271 #327738
analogous
#5A3277 #773271 #77324E
triadic
#773271 #717732 #327177
tetradic
#773271 #775A32 #327738 #324E77
square
#773271 #775A32 #327738 #324E77
split-complementary
#773271 #4E7732 #32775A
monochromatic
#210E1F #4C2048 #773271 #A2449A #BE65B7
Accessibility & contrast
On white
8.47
#773271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#773271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #773271
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##773271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##773271 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#7B384C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #773271; /* rgb */ color: rgb(119, 50, 113); /* oklch */ color: oklch(43.6% 0.127 331.0);
Tailwind
colors: {
custom: {
50: '#a06e9a',
500: '#773271',
950: '#000000',
},
}SCSS
$custom: #773271; $custom-light: #a06e9a; $custom-dark: #000000;
JSON
{
"hex": "#773271",
"rgb": {
"r": 119,
"g": 50,
"b": 113
},
"hsl": {
"h": 305.217,
"s": 40.828,
"l": 33.137
},
"oklch": {
"l": 0.43602,
"c": 0.1269,
"h": 331
},
"luminance": 0.07395
}Semantic roles & 50–950 ramp
primary
#773271
secondary
#5FA665
accent
#D16257
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E