#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
RGBrgb(121, 51, 115)
HSLhsl(305, 41%, 34%)
HSVhsv(305, 58%, 47%)
CMYKcmyk(0%, 57.9%, 5%, 52.5%)
CIE-LABlab(33.29, 39.52, -22.83)
CIE-LCHlch(33.29, 45.64, 329.98°)
OKLaboklab(44.14% 0.1122 -0.0625)
OKLCHoklch(44.14% 0.128 330.9)
XYZxyz(12.1634, 7.6712, 17.0564)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##7933731.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.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

Preview Lab

Preview with #793373

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#793373 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva