#79276C#79276C

#79276C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 334.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#79276C
RGBrgb(121, 39, 108)
HSLhsl(310, 51%, 31%)
HSVhsv(310, 68%, 47%)
CMYKcmyk(0%, 67.8%, 10.7%, 52.5%)
CIE-LABlab(30.88, 43.93, -22.15)
CIE-LCHlch(30.88, 49.20, 333.24°)
OKLaboklab(42.26% 0.1276 -0.0604)
OKLCHoklch(42.26% 0.141 334.7)
XYZxyz(11.3175, 6.5996, 14.8622)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79276C #277934
analogous
#5D2779 #79276C #792743
triadic
#79276C #6C7927 #276C79
tetradic
#79276C #795D27 #277934 #274379
square
#79276C #795D27 #277934 #274379
split-complementary
#79276C #437927 #27795D
monochromatic
#1C0919 #4B1843 #79276C #A73695 #C853B5

Accessibility & contrast

On white

9.05
#79276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#79276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79276C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79276C#FFFFFF#000000##FFFFFF
##79276C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#414D6A
Tritanopia (blue-blind)
#7F2D46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79276c;
/* rgb */ color: rgb(121, 39, 108);
/* oklch */ color: oklch(42.3% 0.141 334.7);
Tailwind
colors: {
  custom: {
    50: '#a26896',
    500: '#79276c',
    950: '#000000',
  },
}
SCSS
$custom: #79276c;
$custom-light: #a26896;
$custom-dark: #000000;
JSON
{
  "hex": "#79276c",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 309.512,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.14118,
    "h": 334.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#79276C
secondary
#51AB5F
accent
#DB644D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79276C

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

Preview Lab → · Contrast checker → · Palette generator →

#79276C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva