#79266E#79266E

#79266E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.144 H 333.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#79266E
RGBrgb(121, 38, 110)
HSLhsl(308, 52%, 31%)
HSVhsv(308, 69%, 47%)
CMYKcmyk(0%, 68.6%, 9.1%, 52.5%)
CIE-LABlab(30.83, 44.69, -23.51)
CIE-LCHlch(30.83, 50.50, 332.25°)
OKLaboklab(42.25% 0.1291 -0.0643)
OKLCHoklch(42.25% 0.144 333.5)
XYZxyz(11.3928, 6.5779, 15.4184)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79266E #267931
analogous
#5A2679 #79266E #792644
triadic
#79266E #6E7926 #266E79
tetradic
#79266E #795A26 #267931 #264479
square
#79266E #795A26 #267931 #264479
split-complementary
#79266E #447926 #26795A
monochromatic
#1C0919 #4A1744 #79266E #A83598 #C851B9

Accessibility & contrast

On white

9.07
#79266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#79266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79266E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79266E#FFFFFF#000000##FFFFFF
##79266E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#7F2D46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79266e;
/* rgb */ color: rgb(121, 38, 110);
/* oklch */ color: oklch(42.3% 0.144 333.5);
Tailwind
colors: {
  custom: {
    50: '#a26798',
    500: '#79266e',
    950: '#000000',
  },
}
SCSS
$custom: #79266e;
$custom-light: #a26798;
$custom-dark: #000000;
JSON
{
  "hex": "#79266e",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 307.952,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.14424,
    "h": 333.5
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#79266E
secondary
#50AB5C
accent
#DC5F4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79266E

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

Preview Lab → · Contrast checker → · Palette generator →

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