#793473#793473

#793473 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.3% C 0.127 H 330.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#793473
RGBrgb(121, 52, 115)
HSLhsl(305, 40%, 34%)
HSVhsv(305, 57%, 47%)
CMYKcmyk(0%, 57%, 5%, 52.5%)
CIE-LABlab(33.48, 39.01, -22.54)
CIE-LCHlch(33.48, 45.05, 329.98°)
OKLaboklab(44.27% 0.1108 -0.0616)
OKLCHoklch(44.27% 0.127 330.9)
XYZxyz(12.2076, 7.7595, 17.0711)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793473 #34793A
analogous
#5D3479 #793473 #793451
triadic
#793473 #737934 #347379
tetradic
#793473 #795D34 #34793A #345179
square
#793473 #795D34 #34793A #345179
split-complementary
#793473 #517934 #34795D
monochromatic
#230F22 #4E224A #793473 #A4469C #BE69B7

Accessibility & contrast

On white

8.23
#793473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#793473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793473
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793473#FFFFFF#000000##FFFFFF
##7934731.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#7D3A4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #793473;
/* rgb */ color: rgb(121, 52, 115);
/* oklch */ color: oklch(44.3% 0.127 330.9);
Tailwind
colors: {
  custom: {
    50: '#a26f9b',
    500: '#793473',
    950: '#000000',
  },
}
SCSS
$custom: #793473;
$custom-light: #a26f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#793473",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 305.217,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.12677,
    "h": 330.9
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#793473
secondary
#62A768
accent
#D06258
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #793473

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

Preview Lab → · Contrast checker → · Palette generator →

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