#79226E#79226E

#79226E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.150 H 333.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#79226E
RGBrgb(121, 34, 110)
HSLhsl(308, 56%, 30%)
HSVhsv(308, 72%, 47%)
CMYKcmyk(0%, 71.9%, 9.1%, 52.5%)
CIE-LABlab(30.24, 46.32, -24.42)
CIE-LCHlch(30.24, 52.37, 332.20°)
OKLaboklab(41.83% 0.1339 -0.0669)
OKLCHoklch(41.83% 0.15 333.5)
XYZxyz(11.2717, 6.3357, 15.3781)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79226E #22792D
analogous
#582279 #79226E #792242
triadic
#79226E #6E7922 #226E79
tetradic
#79226E #795822 #22792D #224279
square
#79226E #795822 #22792D #224279
split-complementary
#79226E #427922 #227958
monochromatic
#190717 #491543 #79226E #A92F99 #CC49BB

Accessibility & contrast

On white

9.26
#79226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79226E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79226E#FFFFFF#000000##FFFFFF
##79226E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#3E4C6C
Tritanopia (blue-blind)
#7F2A45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79226e;
/* rgb */ color: rgb(121, 34, 110);
/* oklch */ color: oklch(41.8% 0.150 333.5);
Tailwind
colors: {
  custom: {
    50: '#a36698',
    500: '#79226e',
    950: '#000000',
  },
}
SCSS
$custom: #79226e;
$custom-light: #a36698;
$custom-dark: #000000;
JSON
{
  "hex": "#79226e",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 307.586,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.14966,
    "h": 333.5
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#79226E
secondary
#4BAC57
accent
#DF5B48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79226E

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

Preview Lab → · Contrast checker → · Palette generator →

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