#792279#792279

#792279 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.159 H 327.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#792279
RGBrgb(121, 34, 121)
HSLhsl(300, 56%, 30%)
HSVhsv(300, 72%, 47%)
CMYKcmyk(0%, 71.9%, 0%, 52.5%)
CIE-LABlab(30.86, 48.23, -30.45)
CIE-LCHlch(30.86, 57.03, 327.74°)
OKLaboklab(42.47% 0.1345 -0.0843)
OKLCHoklch(42.47% 0.159 327.9)
XYZxyz(11.9082, 6.5903, 18.7303)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792279 #227922
analogous
#4D2279 #792279 #79224D
triadic
#792279 #797922 #227979
tetradic
#792279 #794D22 #227922 #224D79
square
#792279 #794D22 #227922 #224D79
split-complementary
#792279 #4D7922 #22794D
monochromatic
#190719 #491549 #792279 #A92FA9 #CC49CC

Accessibility & contrast

On white

9.06
#792279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#792279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792279
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792279#FFFFFF#000000##FFFFFF
##7922791.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#7D2F4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792279;
/* rgb */ color: rgb(121, 34, 121);
/* oklch */ color: oklch(42.5% 0.159 327.9);
Tailwind
colors: {
  custom: {
    50: '#a366a0',
    500: '#792279',
    950: '#000000',
  },
}
SCSS
$custom: #792279;
$custom-light: #a366a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792279",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.15872,
    "h": 327.9
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#792279
secondary
#4BAC4B
accent
#DF4848
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #792279

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

Preview Lab → · Contrast checker → · Palette generator →

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