#791996#791996

#791996 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.193 H 316.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#791996
RGBrgb(121, 25, 150)
HSLhsl(286, 71%, 34%)
HSVhsv(286, 83%, 59%)
CMYKcmyk(19.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(31.72, 56.70, -47.09)
CIE-LCHlch(31.72, 73.70, 320.29°)
OKLaboklab(43.7% 0.1399 -0.1329)
OKLCHoklch(43.7% 0.193 316.5)
XYZxyz(13.7370, 6.9628, 29.4686)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791996 #369619
analogous
#3B1996 #791996 #961975
triadic
#791996 #967919 #199679
tetradic
#791996 #963B19 #369619 #197596
square
#791996 #963B19 #369619 #197596
split-complementary
#791996 #759619 #19963B
monochromatic
#24082D #4F1062 #791996 #A322CA #BD49E1

Accessibility & contrast

On white

8.78
#791996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#791996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791996
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791996#FFFFFF#000000##FFFFFF
##7919961.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#773859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791996;
/* rgb */ color: rgb(121, 25, 150);
/* oklch */ color: oklch(43.7% 0.193 316.5);
Tailwind
colors: {
  custom: {
    50: '#a464b6',
    500: '#791996',
    950: '#000000',
  },
}
SCSS
$custom: #791996;
$custom-light: #a464b6;
$custom-dark: #000000;
JSON
{
  "hex": "#791996",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 286.08,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43697,
    "c": 0.19292,
    "h": 316.5
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#791996
secondary
#65C249
accent
#EE3A64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791996

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

Preview Lab → · Contrast checker → · Palette generator →

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