#793373#793373
#793373 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.1% C 0.128 H 330.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #793373 |
|---|---|
| RGB | rgb(121, 51, 115) |
| HSL | hsl(305, 41%, 34%) |
| HSV | hsv(305, 58%, 47%) |
| CMYK | cmyk(0%, 57.9%, 5%, 52.5%) |
| CIE-LAB | lab(33.29, 39.52, -22.83) |
| CIE-LCH | lch(33.29, 45.64, 329.98°) |
| OKLab | oklab(44.14% 0.1122 -0.0625) |
| OKLCH | oklch(44.14% 0.128 330.9) |
| XYZ | xyz(12.1634, 7.6712, 17.0564) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 4.19
Grape
#6C3461
ΔE00 4.51
Darkish Purple
#751973
ΔE00 5.19
Light Eggplant
#894585
ΔE00 5.70
Warm Purple
#952E8F
ΔE00 6.60
Purple
#800080
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793373 #337939
analogous
#5C3379 #793373 #793350
triadic
#793373 #737933 #337379
tetradic
#793373 #795C33 #337939 #335079
square
#793373 #795C33 #337939 #335079
split-complementary
#793373 #507933 #33795C
monochromatic
#230F21 #4E214A #793373 #A4459C #BF67B8
Accessibility & contrast
On white
8.29
#793373 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#793373 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #793373
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793373 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793373 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#7E394E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #793373; /* rgb */ color: rgb(121, 51, 115); /* oklch */ color: oklch(44.1% 0.128 330.9);
Tailwind
colors: {
custom: {
50: '#a26f9b',
500: '#793373',
950: '#000000',
},
}SCSS
$custom: #793373; $custom-light: #a26f9b; $custom-dark: #000000;
JSON
{
"hex": "#793373",
"rgb": {
"r": 121,
"g": 51,
"b": 115
},
"hsl": {
"h": 305.143,
"s": 40.698,
"l": 33.725
},
"oklch": {
"l": 0.44136,
"c": 0.12844,
"h": 330.9
},
"luminance": 0.0767
}Semantic roles & 50–950 ramp
primary
#793373
secondary
#61A767
accent
#D16257
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E