#792979#792979

#792979 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.149 H 327.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#792979
RGBrgb(121, 41, 121)
HSLhsl(300, 49%, 32%)
HSVhsv(300, 66%, 47%)
CMYKcmyk(0%, 66.1%, 0%, 52.5%)
CIE-LABlab(31.88, 45.35, -28.82)
CIE-LCHlch(31.88, 53.74, 327.56°)
OKLaboklab(43.21% 0.1264 -0.0796)
OKLCHoklch(43.21% 0.149 327.8)
XYZxyz(12.1291, 7.0321, 18.8039)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792979 #297929
analogous
#512979 #792979 #792951
triadic
#792979 #797929 #297979
tetradic
#792979 #795129 #297929 #295179
square
#792979 #795129 #297929 #295179
split-complementary
#792979 #517929 #297951
monochromatic
#1E0A1E #4B1A4B #792979 #A738A7 #C656C6

Accessibility & contrast

On white

8.73
#792979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792979
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792979#FFFFFF#000000##FFFFFF
##7929791.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#3C4F77
Tritanopia (blue-blind)
#7D344D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792979;
/* rgb */ color: rgb(121, 41, 121);
/* oklch */ color: oklch(43.2% 0.149 327.8);
Tailwind
colors: {
  custom: {
    50: '#a269a0',
    500: '#792979',
    950: '#000000',
  },
}
SCSS
$custom: #792979;
$custom-light: #a269a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792979",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.14936,
    "h": 327.8
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#792979
secondary
#53AB53
accent
#D94F4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792979

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

Preview Lab → · Contrast checker → · Palette generator →

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