#791979#791979

#791979 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.169 H 328.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#791979
RGBrgb(121, 25, 121)
HSLhsl(300, 66%, 29%)
HSVhsv(300, 79%, 47%)
CMYKcmyk(0%, 79.3%, 0%, 52.5%)
CIE-LABlab(29.77, 51.34, -32.17)
CIE-LCHlch(29.77, 60.59, 327.92°)
OKLaboklab(41.69% 0.1433 -0.0892)
OKLCHoklch(41.69% 0.169 328.1)
XYZxyz(11.6838, 6.1416, 18.6555)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791979 #197919
analogous
#491979 #791979 #791949
triadic
#791979 #797919 #197979
tetradic
#791979 #794919 #197919 #194979
square
#791979 #794919 #197919 #194979
split-complementary
#791979 #497919 #197949
monochromatic
#190519 #460F46 #791979 #AC23AC #D637D6

Accessibility & contrast

On white

9.42
#791979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791979
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791979#FFFFFF#000000##FFFFFF
##7919791.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7C
Deuteranopia (green-blind)
#354A77
Tritanopia (blue-blind)
#7D2949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791979;
/* rgb */ color: rgb(121, 25, 121);
/* oklch */ color: oklch(41.7% 0.169 328.1);
Tailwind
colors: {
  custom: {
    50: '#a362a0',
    500: '#791979',
    950: '#000000',
  },
}
SCSS
$custom: #791979;
$custom-light: #a362a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791979",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.16881,
    "h": 328.1
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#791979
secondary
#40AE40
accent
#E93F3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #791979

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

Preview Lab → · Contrast checker → · Palette generator →

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