#79298C#79298C

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

Color values

HEX#79298C
RGBrgb(121, 41, 140)
HSLhsl(288, 55%, 35%)
HSVhsv(288, 71%, 55%)
CMYKcmyk(13.6%, 70.7%, 0%, 45.1%)
CIE-LABlab(33.02, 49.02, -38.86)
CIE-LCHlch(33.02, 62.56, 321.60°)
OKLaboklab(44.4% 0.1264 -0.1088)
OKLCHoklch(44.4% 0.167 319.3)
XYZxyz(13.4111, 7.5449, 25.5557)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79298C #3C8C29
analogous
#47298C #79298C #8C296D
triadic
#79298C #8C7929 #298C79
tetradic
#79298C #8C4729 #3C8C29 #296D8C
square
#79298C #8C4729 #3C8C29 #296D8C
split-complementary
#79298C #6D8C29 #298C47
monochromatic
#270D2D #501B5D #79298C #A237BB #BB5FD0

Accessibility & contrast

On white

8.37
#79298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#79298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79298C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79298C#FFFFFF#000000##FFFFFF
##79298C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#30508A
Tritanopia (blue-blind)
#793B57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79298c;
/* rgb */ color: rgb(121, 41, 140);
/* oklch */ color: oklch(44.4% 0.167 319.3);
Tailwind
colors: {
  custom: {
    50: '#a36aae',
    500: '#79298c',
    950: '#000000',
  },
}
SCSS
$custom: #79298c;
$custom-light: #a36aae;
$custom-dark: #000000;
JSON
{
  "hex": "#79298c",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 288.485,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44396,
    "c": 0.16682,
    "h": 319.3
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#79298C
secondary
#6CB65B
accent
#DE4A66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79298C

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

Preview Lab → · Contrast checker → · Palette generator →

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