#791F71#791F71
#791F71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.156 H 331.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #791F71 |
|---|---|
| RGB | rgb(121, 31, 113) |
| HSL | hsl(305, 59%, 30%) |
| HSV | hsv(305, 74%, 47%) |
| CMYK | cmyk(0%, 74.4%, 6.6%, 52.5%) |
| CIE-LAB | lab(30.01, 47.96, -26.71) |
| CIE-LCH | lch(30.01, 54.90, 330.88°) |
| OKLab | oklab(41.71% 0.1374 -0.0734) |
| OKLCH | oklch(41.71% 0.156 331.9) |
| XYZ | xyz(11.3558, 6.2381, 16.2256) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.70
Purple
#800080
ΔE00 4.03
Darkmagenta
#8B008B
ΔE00 5.39
Rich Purple
#720058
ΔE00 5.56
Grape
#6C3461
ΔE00 6.65
Grape Purple
#5D1451
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791F71 #1F7927
analogous
#541F79 #791F71 #791F44
triadic
#791F71 #71791F #1F7179
tetradic
#791F71 #79541F #1F7927 #1F4479
square
#791F71 #79541F #1F7927 #1F4479
split-complementary
#791F71 #44791F #1F7954
monochromatic
#180617 #481344 #791F71 #AA2B9E #CF43C3
Accessibility & contrast
On white
9.34
#791F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#791F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791F71
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791F71 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7E2946
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #791f71; /* rgb */ color: rgb(121, 31, 113); /* oklch */ color: oklch(41.7% 0.156 331.9);
Tailwind
colors: {
custom: {
50: '#a3649a',
500: '#791f71',
950: '#000000',
},
}SCSS
$custom: #791f71; $custom-light: #a3649a; $custom-dark: #000000;
JSON
{
"hex": "#791f71",
"rgb": {
"r": 121,
"g": 31,
"b": 113
},
"hsl": {
"h": 305.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.41714,
"c": 0.15582,
"h": 331.9
},
"luminance": 0.06237
}Semantic roles & 50–950 ramp
primary
#791F71
secondary
#47AC50
accent
#E25345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E