#792579#792579

#792579 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 327.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#792579
RGBrgb(121, 37, 121)
HSLhsl(300, 53%, 31%)
HSVhsv(300, 69%, 47%)
CMYKcmyk(0%, 69.4%, 0%, 52.5%)
CIE-LABlab(31.28, 47.04, -29.78)
CIE-LCHlch(31.28, 55.67, 327.66°)
OKLaboklab(42.77% 0.1311 -0.0824)
OKLCHoklch(42.77% 0.155 327.9)
XYZxyz(11.9978, 6.7694, 18.7601)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792579 #257925
analogous
#4F2579 #792579 #79254F
triadic
#792579 #797925 #257979
tetradic
#792579 #794F25 #257925 #254F79
square
#792579 #794F25 #257925 #254F79
split-complementary
#792579 #4F7925 #25794F
monochromatic
#1B081B #4A174A #792579 #A833A8 #C94FC9

Accessibility & contrast

On white

8.92
#792579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#792579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792579
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792579#FFFFFF#000000##FFFFFF
##7925791.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#7D314C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792579;
/* rgb */ color: rgb(121, 37, 121);
/* oklch */ color: oklch(42.8% 0.155 327.9);
Tailwind
colors: {
  custom: {
    50: '#a367a0',
    500: '#792579',
    950: '#000000',
  },
}
SCSS
$custom: #792579;
$custom-light: #a367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792579",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.15486,
    "h": 327.9
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#792579
secondary
#4EAB4E
accent
#DD4B4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #792579

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

Preview Lab → · Contrast checker → · Palette generator →

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