#792079#792079

#792079 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.161 H 328.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#792079
RGBrgb(121, 32, 121)
HSLhsl(300, 58%, 30%)
HSVhsv(300, 74%, 47%)
CMYKcmyk(0%, 73.6%, 0%, 52.5%)
CIE-LABlab(30.59, 48.98, -30.87)
CIE-LCHlch(30.59, 57.89, 327.78°)
OKLaboklab(42.28% 0.1366 -0.0855)
OKLCHoklch(42.28% 0.161 328)
XYZxyz(11.8527, 6.4793, 18.7118)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792079 #207920
analogous
#4C2079 #792079 #79204D
triadic
#792079 #797920 #207979
tetradic
#792079 #794D20 #207920 #204C79
square
#792079 #794D20 #207920 #204C79
split-complementary
#792079 #4D7920 #20794D
monochromatic
#180618 #491349 #792079 #A92DA9 #CE45CE

Accessibility & contrast

On white

9.15
#792079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792079
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792079#FFFFFF#000000##FFFFFF
##7920791.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#7D2D4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792079;
/* rgb */ color: rgb(121, 32, 121);
/* oklch */ color: oklch(42.3% 0.161 328.0);
Tailwind
colors: {
  custom: {
    50: '#a365a0',
    500: '#792079',
    950: '#000000',
  },
}
SCSS
$custom: #792079;
$custom-light: #a365a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792079",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.16115,
    "h": 328
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#792079
secondary
#49AC49
accent
#E14646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #792079

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

Preview Lab → · Contrast checker → · Palette generator →

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