#79228D#79228D

#79228D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.176 H 319.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#79228D
RGBrgb(121, 34, 141)
HSLhsl(289, 61%, 34%)
HSVhsv(289, 76%, 55%)
CMYKcmyk(14.2%, 75.9%, 0%, 44.7%)
CIE-LABlab(32.11, 51.99, -40.93)
CIE-LCHlch(32.11, 66.17, 321.79°)
OKLaboklab(43.77% 0.1336 -0.1149)
OKLCHoklch(43.77% 0.176 319.3)
XYZxyz(13.2643, 7.1327, 25.8722)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79228D #368D22
analogous
#44228D #79228D #8D226C
triadic
#79228D #8D7922 #228D79
tetradic
#79228D #8D4422 #368D22 #226C8D
square
#79228D #8D4422 #368D22 #226C8D
split-complementary
#79228D #6C8D22 #228D44
monochromatic
#240A2A #4F165C #79228D #A32EBE #BD54D6

Accessibility & contrast

On white

8.65
#79228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#79228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79228D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79228D#FFFFFF#000000##FFFFFF
##79228D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#793856
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79228d;
/* rgb */ color: rgb(121, 34, 141);
/* oklch */ color: oklch(43.8% 0.176 319.3);
Tailwind
colors: {
  custom: {
    50: '#a367af',
    500: '#79228d',
    950: '#000000',
  },
}
SCSS
$custom: #79228d;
$custom-light: #a367af;
$custom-dark: #000000;
JSON
{
  "hex": "#79228d",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 288.785,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.17622,
    "h": 319.3
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#79228D
secondary
#65B951
accent
#E44462
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79228D

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

Preview Lab → · Contrast checker → · Palette generator →

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