#79287B#79287B

#79287B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.153 H 326.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#79287B
RGBrgb(121, 40, 123)
HSLhsl(299, 51%, 32%)
HSVhsv(299, 67%, 48%)
CMYKcmyk(1.6%, 67.5%, 0%, 51.8%)
CIE-LABlab(31.84, 46.15, -30.15)
CIE-LCHlch(31.84, 55.13, 326.85°)
OKLaboklab(43.22% 0.1277 -0.0835)
OKLCHoklch(43.22% 0.153 326.8)
XYZxyz(12.2189, 7.0134, 19.4452)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79287B #2A7B28
analogous
#50287B #79287B #7B2854
triadic
#79287B #7B7928 #287B79
tetradic
#79287B #7B5028 #2A7B28 #28547B
square
#79287B #7B5028 #2A7B28 #28547B
split-complementary
#79287B #547B28 #287B50
monochromatic
#1E0A1F #4C194D #79287B #A637A9 #C556C8

Accessibility & contrast

On white

8.74
#79287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#79287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79287B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79287B#FFFFFF#000000##FFFFFF
##79287B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#7C344E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79287b;
/* rgb */ color: rgb(121, 40, 123);
/* oklch */ color: oklch(43.2% 0.153 326.8);
Tailwind
colors: {
  custom: {
    50: '#a269a1',
    500: '#79287b',
    950: '#000000',
  },
}
SCSS
$custom: #79287b;
$custom-light: #a269a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79287b",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 298.554,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43216,
    "c": 0.15255,
    "h": 326.8
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#79287B
secondary
#54AD52
accent
#DA4D51
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79287B

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

Preview Lab → · Contrast checker → · Palette generator →

#79287B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva