#792B6F#792B6F
#792B6F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.138 H 333.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #792B6F |
|---|---|
| RGB | rgb(121, 43, 111) |
| HSL | hsl(308, 48%, 32%) |
| HSV | hsv(308, 64%, 47%) |
| CMYK | cmyk(0%, 64.5%, 8.3%, 52.5%) |
| CIE-LAB | lab(31.67, 42.66, -22.82) |
| CIE-LCH | lch(31.67, 48.38, 331.85°) |
| OKLab | oklab(42.89% 0.1228 -0.0624) |
| OKLCH | oklch(42.89% 0.138 333.1) |
| XYZ | xyz(11.6183, 6.9413, 15.7637) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.93
Grape
#6C3461
ΔE00 4.73
Bruise
#7E4071
ΔE00 5.47
Purple
#800080
ΔE00 6.18
Rich Purple
#720058
ΔE00 6.48
Darkmagenta
#8B008B
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792B6F #2B7935
analogous
#5C2B79 #792B6F #792B48
triadic
#792B6F #6F792B #2B6F79
tetradic
#792B6F #795C2B #2B7935 #2B4879
square
#792B6F #795C2B #2B7935 #2B4879
split-complementary
#792B6F #48792B #2B795C
monochromatic
#1F0B1C #4C1B46 #792B6F #A63B98 #C45AB7
Accessibility & contrast
On white
8.79
#792B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#792B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792B6F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792B6F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#424F6D
Tritanopia (blue-blind)
#7E3149
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #792b6f; /* rgb */ color: rgb(121, 43, 111); /* oklch */ color: oklch(42.9% 0.138 333.1);
Tailwind
colors: {
custom: {
50: '#a26a98',
500: '#792b6f',
950: '#000000',
},
}SCSS
$custom: #792b6f; $custom-light: #a26a98; $custom-dark: #000000;
JSON
{
"hex": "#792b6f",
"rgb": {
"r": 121,
"g": 43,
"b": 111
},
"hsl": {
"h": 307.692,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.42887,
"c": 0.13773,
"h": 333.1
},
"luminance": 0.0694
}Semantic roles & 50–950 ramp
primary
#792B6F
secondary
#56AA60
accent
#D76251
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E