#79298F#79298F

#79298F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.170 H 318.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#79298F
RGBrgb(121, 41, 143)
HSLhsl(287, 55%, 36%)
HSVhsv(287, 71%, 56%)
CMYKcmyk(15.4%, 71.3%, 0%, 43.9%)
CIE-LABlab(33.21, 49.63, -40.40)
CIE-LCHlch(33.21, 63.99, 320.86°)
OKLaboklab(44.6% 0.1262 -0.1133)
OKLCHoklch(44.6% 0.17 318.1)
XYZxyz(13.6353, 7.6346, 26.7367)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79298F #3F8F29
analogous
#46298F #79298F #8F2972
triadic
#79298F #8F7929 #298F79
tetradic
#79298F #8F4629 #3F8F29 #29728F
square
#79298F #8F4629 #3F8F29 #29728F
split-complementary
#79298F #728F29 #298F46
monochromatic
#290E30 #511B5F #79298F #A137BF #B961D2

Accessibility & contrast

On white

8.31
#79298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#79298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79298F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79298F#FFFFFF#000000##FFFFFF
##79298F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#783D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79298f;
/* rgb */ color: rgb(121, 41, 143);
/* oklch */ color: oklch(44.6% 0.170 318.1);
Tailwind
colors: {
  custom: {
    50: '#a36ab0',
    500: '#79298f',
    950: '#000000',
  },
}
SCSS
$custom: #79298f;
$custom-light: #a36ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#79298f",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 287.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.16966,
    "h": 318.1
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#79298F
secondary
#70B75C
accent
#DF4969
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79298F

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

Preview Lab → · Contrast checker → · Palette generator →

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