#79226F#79226F

#79226F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.150 H 332.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#79226F
RGBrgb(121, 34, 111)
HSLhsl(307, 56%, 30%)
HSVhsv(307, 72%, 47%)
CMYKcmyk(0%, 71.9%, 8.3%, 52.5%)
CIE-LABlab(30.30, 46.49, -24.98)
CIE-LCHlch(30.30, 52.78, 331.75°)
OKLaboklab(41.89% 0.134 -0.0685)
OKLCHoklch(41.89% 0.15 332.9)
XYZxyz(11.3265, 6.3576, 15.6664)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79226F #22792C
analogous
#582279 #79226F #792243
triadic
#79226F #6F7922 #226F79
tetradic
#79226F #795822 #22792C #224379
square
#79226F #795822 #22792C #224379
split-complementary
#79226F #437922 #227958
monochromatic
#190717 #491543 #79226F #A92F9B #CC49BD

Accessibility & contrast

On white

9.25
#79226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#79226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79226F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79226F#FFFFFF#000000##FFFFFF
##79226F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#7E2A45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79226f;
/* rgb */ color: rgb(121, 34, 111);
/* oklch */ color: oklch(41.9% 0.150 332.9);
Tailwind
colors: {
  custom: {
    50: '#a36698',
    500: '#79226f',
    950: '#000000',
  },
}
SCSS
$custom: #79226f;
$custom-light: #a36698;
$custom-dark: #000000;
JSON
{
  "hex": "#79226f",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 306.897,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.15045,
    "h": 332.9
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#79226F
secondary
#4BAC56
accent
#DF5A48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #79226F

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

Preview Lab → · Contrast checker → · Palette generator →

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