#792479#792479

#792479 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.156 H 327.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#792479
RGBrgb(121, 36, 121)
HSLhsl(300, 54%, 31%)
HSVhsv(300, 70%, 47%)
CMYKcmyk(0%, 70.2%, 0%, 52.5%)
CIE-LABlab(31.13, 47.45, -30.01)
CIE-LCHlch(31.13, 56.14, 327.69°)
OKLaboklab(42.67% 0.1323 -0.083)
OKLCHoklch(42.67% 0.156 327.9)
XYZxyz(11.9671, 6.7080, 18.7499)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792479 #247924
analogous
#4E2479 #792479 #79244E
triadic
#792479 #797924 #247979
tetradic
#792479 #794E24 #247924 #244E79
square
#792479 #794E24 #247924 #244E79
split-complementary
#792479 #4E7924 #24794E
monochromatic
#1B081B #4A164A #792479 #A832A8 #CA4DCA

Accessibility & contrast

On white

8.97
#792479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#792479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792479
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792479#FFFFFF#000000##FFFFFF
##7924791.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#7D304B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792479;
/* rgb */ color: rgb(121, 36, 121);
/* oklch */ color: oklch(42.7% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#a367a0',
    500: '#792479',
    950: '#000000',
  },
}
SCSS
$custom: #792479;
$custom-light: #a367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792479",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.15617,
    "h": 327.9
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#792479
secondary
#4DAC4D
accent
#DE4A4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #792479

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

Preview Lab → · Contrast checker → · Palette generator →

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