#793379#793379

#793379 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.134 H 327.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#793379
RGBrgb(121, 51, 121)
HSLhsl(300, 41%, 34%)
HSVhsv(300, 58%, 47%)
CMYKcmyk(0%, 57.9%, 0%, 52.5%)
CIE-LABlab(33.59, 40.65, -26.13)
CIE-LCHlch(33.59, 48.32, 327.26°)
OKLaboklab(44.46% 0.1131 -0.0719)
OKLCHoklch(44.46% 0.134 327.5)
XYZxyz(12.5200, 7.8138, 18.9342)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793379 #337933
analogous
#563379 #793379 #793356
triadic
#793379 #797933 #337979
tetradic
#793379 #795633 #337933 #335679
square
#793379 #795633 #337933 #335679
split-complementary
#793379 #567933 #337956
monochromatic
#230F23 #4E214E #793379 #A445A4 #BF67BF

Accessibility & contrast

On white

8.19
#793379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#793379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793379
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793379#FFFFFF#000000##FFFFFF
##7933791.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#7D3B51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #793379;
/* rgb */ color: rgb(121, 51, 121);
/* oklch */ color: oklch(44.5% 0.134 327.5);
Tailwind
colors: {
  custom: {
    50: '#a26fa0',
    500: '#793379',
    950: '#000000',
  },
}
SCSS
$custom: #793379;
$custom-light: #a26fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#793379",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.13403,
    "h": 327.5
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#793379
secondary
#61A761
accent
#D15757
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #793379

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

Preview Lab → · Contrast checker → · Palette generator →

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