#792F78#792F78

#792F78 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.139 H 328.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#792F78
RGBrgb(121, 47, 120)
HSLhsl(301, 44%, 33%)
HSVhsv(301, 61%, 47%)
CMYKcmyk(0%, 61.2%, 0.8%, 52.5%)
CIE-LABlab(32.82, 42.42, -26.71)
CIE-LCHlch(32.82, 50.13, 327.80°)
OKLaboklab(43.88% 0.1185 -0.0736)
OKLCHoklch(43.88% 0.139 328.2)
XYZxyz(12.2917, 7.4548, 18.5572)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F78 #2F7930
analogous
#552F79 #792F78 #792F53
triadic
#792F78 #78792F #2F7879
tetradic
#792F78 #79552F #2F7930 #2F5379
square
#792F78 #79552F #2F7930 #2F5379
split-complementary
#792F78 #53792F #2F7955
monochromatic
#210D21 #4D1E4C #792F78 #A540A4 #C261C0

Accessibility & contrast

On white

8.43
#792F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F78
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F78#FFFFFF#000000##FFFFFF
##792F781.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#405176
Tritanopia (blue-blind)
#7D384F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792f78;
/* rgb */ color: rgb(121, 47, 120);
/* oklch */ color: oklch(43.9% 0.139 328.2);
Tailwind
colors: {
  custom: {
    50: '#a26d9f',
    500: '#792f78',
    950: '#000000',
  },
}
SCSS
$custom: #792f78;
$custom-light: #a26d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#792f78",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 300.811,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.13949,
    "h": 328.2
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#792F78
secondary
#5BA85C
accent
#D45654
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792F78

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

Preview Lab → · Contrast checker → · Palette generator →

#792F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva