#79288F#79288F

#79288F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.171 H 318.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#79288F
RGBrgb(121, 40, 143)
HSLhsl(287, 56%, 36%)
HSVhsv(287, 72%, 56%)
CMYKcmyk(15.4%, 72%, 0%, 43.9%)
CIE-LABlab(33.06, 50.05, -40.63)
CIE-LCHlch(33.06, 64.47, 320.93°)
OKLaboklab(44.49% 0.1273 -0.114)
OKLCHoklch(44.49% 0.171 318.2)
XYZxyz(13.6012, 7.5663, 26.7253)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79288F #3E8F28
analogous
#45288F #79288F #8F2871
triadic
#79288F #8F7928 #288F79
tetradic
#79288F #8F4528 #3E8F28 #28718F
square
#79288F #8F4528 #3E8F28 #28718F
split-complementary
#79288F #718F28 #288F45
monochromatic
#280D2F #511B5F #79288F #A135BF #BA5FD2

Accessibility & contrast

On white

8.36
#79288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#79288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79288F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79288F#FFFFFF#000000##FFFFFF
##79288F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79288f;
/* rgb */ color: rgb(121, 40, 143);
/* oklch */ color: oklch(44.5% 0.171 318.2);
Tailwind
colors: {
  custom: {
    50: '#a36ab0',
    500: '#79288f',
    950: '#000000',
  },
}
SCSS
$custom: #79288f;
$custom-light: #a36ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#79288f",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 287.184,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.17092,
    "h": 318.2
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#79288F
secondary
#6FB85B
accent
#E04869
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79288F

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

Preview Lab → · Contrast checker → · Palette generator →

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