#79286F#79286F

#79286F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 333.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#79286F
RGBrgb(121, 40, 111)
HSLhsl(307, 50%, 32%)
HSVhsv(307, 67%, 47%)
CMYKcmyk(0%, 66.9%, 8.3%, 52.5%)
CIE-LABlab(31.19, 44.00, -23.58)
CIE-LCHlch(31.19, 49.92, 331.81°)
OKLaboklab(42.53% 0.1267 -0.0645)
OKLCHoklch(42.53% 0.142 333)
XYZxyz(11.5132, 6.7311, 15.7287)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79286F #287932
analogous
#5B2879 #79286F #792847
triadic
#79286F #6F7928 #286F79
tetradic
#79286F #795B28 #287932 #284779
square
#79286F #795B28 #287932 #284779
split-complementary
#79286F #477928 #28795B
monochromatic
#1D0A1B #4B1945 #79286F #A73799 #C755B9

Accessibility & contrast

On white

8.95
#79286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#79286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79286F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79286F#FFFFFF#000000##FFFFFF
##79286F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#414E6D
Tritanopia (blue-blind)
#7E2F47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79286f;
/* rgb */ color: rgb(121, 40, 111);
/* oklch */ color: oklch(42.5% 0.142 333.0);
Tailwind
colors: {
  custom: {
    50: '#a26898',
    500: '#79286f',
    950: '#000000',
  },
}
SCSS
$custom: #79286f;
$custom-light: #a26898;
$custom-dark: #000000;
JSON
{
  "hex": "#79286f",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 307.407,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.14219,
    "h": 333
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#79286F
secondary
#52AB5D
accent
#DA5F4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #79286F

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

Preview Lab → · Contrast checker → · Palette generator →

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