#79288C#79288C

#79288C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 319.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#79288C
RGBrgb(121, 40, 140)
HSLhsl(289, 56%, 35%)
HSVhsv(289, 71%, 55%)
CMYKcmyk(13.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(32.87, 49.44, -39.10)
CIE-LCHlch(32.87, 63.03, 321.67°)
OKLaboklab(44.29% 0.1275 -0.1095)
OKLCHoklch(44.29% 0.168 319.3)
XYZxyz(13.3770, 7.4766, 25.5444)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79288C #3B8C28
analogous
#47288C #79288C #8C286D
triadic
#79288C #8C7928 #288C79
tetradic
#79288C #8C4728 #3B8C28 #286D8C
square
#79288C #8C4728 #3B8C28 #286D8C
split-complementary
#79288C #6D8C28 #288C47
monochromatic
#270D2D #501A5C #79288C #A236BC #BB5ED1

Accessibility & contrast

On white

8.42
#79288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#79288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79288C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79288C#FFFFFF#000000##FFFFFF
##79288C1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#793B57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79288c;
/* rgb */ color: rgb(121, 40, 140);
/* oklch */ color: oklch(44.3% 0.168 319.3);
Tailwind
colors: {
  custom: {
    50: '#a36aae',
    500: '#79288c',
    950: '#000000',
  },
}
SCSS
$custom: #79288c;
$custom-light: #a36aae;
$custom-dark: #000000;
JSON
{
  "hex": "#79288c",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 288.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.1681,
    "h": 319.3
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#79288C
secondary
#6BB65A
accent
#DF4965
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79288C

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

Preview Lab → · Contrast checker → · Palette generator →

#79288C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva