#791B6B#791B6B
#791B6B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.156 H 334.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #791B6B |
|---|---|
| RGB | rgb(121, 27, 107) |
| HSL | hsl(309, 64%, 29%) |
| HSV | hsv(309, 78%, 47%) |
| CMYK | cmyk(0%, 77.7%, 11.6%, 52.5%) |
| CIE-LAB | lab(29.19, 48.38, -24.16) |
| CIE-LCH | lch(29.19, 54.08, 333.46°) |
| OKLab | oklab(41.02% 0.1411 -0.0661) |
| OKLCH | oklch(41.02% 0.156 334.9) |
| XYZ | xyz(10.9311, 5.9113, 14.4724) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.54
Rich Purple
#720058
ΔE00 4.30
Purple
#800080
ΔE00 4.81
Velvet
#750851
ΔE00 5.83
Darkmagenta
#8B008B
ΔE00 6.27
Grape Purple
#5D1451
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791B6B #1B7929
analogous
#581B79 #791B6B #791B3C
triadic
#791B6B #6B791B #1B6B79
tetradic
#791B6B #79581B #1B7929 #1B3C79
square
#791B6B #79581B #1B7929 #1B3C79
split-complementary
#791B6B #3C791B #1B7958
monochromatic
#190616 #47103F #791B6B #AB2697 #D33BBD
Accessibility & contrast
On white
9.62
#791B6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#791B6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791B6B
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791B6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791B6B | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#7F2341
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #791b6b; /* rgb */ color: rgb(121, 27, 107); /* oklch */ color: oklch(41.0% 0.156 334.9);
Tailwind
colors: {
custom: {
50: '#a36295',
500: '#791b6b',
950: '#000000',
},
}SCSS
$custom: #791b6b; $custom-light: #a36295; $custom-dark: #000000;
JSON
{
"hex": "#791b6b",
"rgb": {
"r": 121,
"g": 27,
"b": 107
},
"hsl": {
"h": 308.936,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.41019,
"c": 0.1558,
"h": 334.9
},
"luminance": 0.0591
}Semantic roles & 50–950 ramp
primary
#791B6B
secondary
#43AD52
accent
#E75A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E