#792078#792078

#792078 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.160 H 328.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#792078
RGBrgb(121, 32, 120)
HSLhsl(301, 58%, 30%)
HSVhsv(301, 74%, 47%)
CMYKcmyk(0%, 73.6%, 0.8%, 52.5%)
CIE-LABlab(30.53, 48.80, -30.33)
CIE-LCHlch(30.53, 57.46, 328.14°)
OKLaboklab(42.22% 0.1366 -0.0839)
OKLCHoklch(42.22% 0.16 328.4)
XYZxyz(11.7917, 6.4549, 18.3905)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792078 #207921
analogous
#4D2079 #792078 #79204C
triadic
#792078 #787920 #207879
tetradic
#792078 #794D20 #207921 #204C79
square
#792078 #794D20 #207921 #204C79
split-complementary
#792078 #4C7920 #20794D
monochromatic
#180618 #491348 #792078 #A92DA8 #CE45CC

Accessibility & contrast

On white

9.17
#792078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#792078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792078
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792078#FFFFFF#000000##FFFFFF
##7920781.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12407A
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#7D2D4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792078;
/* rgb */ color: rgb(121, 32, 120);
/* oklch */ color: oklch(42.2% 0.160 328.4);
Tailwind
colors: {
  custom: {
    50: '#a3659f',
    500: '#792078',
    950: '#000000',
  },
}
SCSS
$custom: #792078;
$custom-light: #a3659f;
$custom-dark: #000000;
JSON
{
  "hex": "#792078",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 300.674,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.16032,
    "h": 328.4
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#792078
secondary
#49AC4A
accent
#E14846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792078

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

Preview Lab → · Contrast checker → · Palette generator →

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