#791976#791976

#791976 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.166 H 329.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#791976
RGBrgb(121, 25, 118)
HSLhsl(302, 66%, 29%)
HSVhsv(302, 79%, 47%)
CMYKcmyk(0%, 79.3%, 2.5%, 52.5%)
CIE-LABlab(29.59, 50.83, -30.56)
CIE-LCHlch(29.59, 59.31, 328.98°)
OKLaboklab(41.51% 0.1434 -0.0845)
OKLCHoklch(41.51% 0.166 329.5)
XYZxyz(11.5027, 6.0691, 17.7016)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791976 #19791C
analogous
#4C1979 #791976 #791946
triadic
#791976 #767919 #197679
tetradic
#791976 #794C19 #19791C #194679
square
#791976 #794C19 #19791C #194679
split-complementary
#791976 #467919 #19794C
monochromatic
#190519 #460F45 #791976 #AC23A7 #D637D1

Accessibility & contrast

On white

9.49
#791976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#791976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791976
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791976#FFFFFF#000000##FFFFFF
##7919761.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#7E2847
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791976;
/* rgb */ color: rgb(121, 25, 118);
/* oklch */ color: oklch(41.5% 0.166 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3629e',
    500: '#791976',
    950: '#000000',
  },
}
SCSS
$custom: #791976;
$custom-light: #a3629e;
$custom-dark: #000000;
JSON
{
  "hex": "#791976",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 301.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.16643,
    "h": 329.5
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#791976
secondary
#40AE44
accent
#E9443F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791976

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

Preview Lab → · Contrast checker → · Palette generator →

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