#792296#792296

#792296 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.184 H 316.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#792296
RGBrgb(121, 34, 150)
HSLhsl(285, 63%, 36%)
HSVhsv(285, 77%, 59%)
CMYKcmyk(19.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(32.73, 53.79, -45.47)
CIE-LCHlch(32.73, 70.43, 319.79°)
OKLaboklab(44.4% 0.1325 -0.1282)
OKLCHoklch(44.4% 0.184 316)
XYZxyz(13.9613, 7.4116, 29.5434)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792296 #3F9622
analogous
#3F2296 #792296 #962279
triadic
#792296 #967922 #229679
tetradic
#792296 #963F22 #3F9622 #227996
square
#792296 #963F22 #3F9622 #227996
split-complementary
#792296 #799622 #22963F
monochromatic
#290B32 #511764 #792296 #A12DC8 #B959D9

Accessibility & contrast

On white

8.46
#792296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792296
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792296#FFFFFF#000000##FFFFFF
##7922961.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#773C5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792296;
/* rgb */ color: rgb(121, 34, 150);
/* oklch */ color: oklch(44.4% 0.184 316.0);
Tailwind
colors: {
  custom: {
    50: '#a467b5',
    500: '#792296',
    950: '#000000',
  },
}
SCSS
$custom: #792296;
$custom-light: #a467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#792296",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 285,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.18435,
    "h": 316
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#792296
secondary
#70BE56
accent
#E6426B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792296

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

Preview Lab → · Contrast checker → · Palette generator →

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