#79288D#79288D

#79288D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.169 H 318.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#79288D
RGBrgb(121, 40, 141)
HSLhsl(288, 56%, 35%)
HSVhsv(288, 72%, 55%)
CMYKcmyk(14.2%, 71.6%, 0%, 44.7%)
CIE-LABlab(32.93, 49.64, -39.61)
CIE-LCHlch(32.93, 63.51, 321.42°)
OKLaboklab(44.36% 0.1275 -0.111)
OKLCHoklch(44.36% 0.169 318.9)
XYZxyz(13.4510, 7.5062, 25.9345)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79288D #3C8D28
analogous
#46288D #79288D #8D286E
triadic
#79288D #8D7928 #288D79
tetradic
#79288D #8D4628 #3C8D28 #286E8D
square
#79288D #8D4628 #3C8D28 #286E8D
split-complementary
#79288D #6E8D28 #288D46
monochromatic
#270D2E #501A5D #79288D #A236BD #BB5ED1

Accessibility & contrast

On white

8.40
#79288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79288D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79288D#FFFFFF#000000##FFFFFF
##79288D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#793B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79288d;
/* rgb */ color: rgb(121, 40, 141);
/* oklch */ color: oklch(44.4% 0.169 318.9);
Tailwind
colors: {
  custom: {
    50: '#a36aaf',
    500: '#79288d',
    950: '#000000',
  },
}
SCSS
$custom: #79288d;
$custom-light: #a36aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#79288d",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 288.119,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44356,
    "c": 0.16904,
    "h": 318.9
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#79288D
secondary
#6CB75A
accent
#DF4966
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79288D

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

Preview Lab → · Contrast checker → · Palette generator →

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