#79276D#79276D

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

Color values

HEX#79276D
RGBrgb(121, 39, 109)
HSLhsl(309, 51%, 31%)
HSVhsv(309, 68%, 47%)
CMYKcmyk(0%, 67.8%, 9.9%, 52.5%)
CIE-LABlab(30.93, 44.10, -22.71)
CIE-LCHlch(30.93, 49.60, 332.75°)
OKLaboklab(42.31% 0.1277 -0.062)
OKLCHoklch(42.31% 0.142 334.1)
XYZxyz(11.3711, 6.6210, 15.1441)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79276D #277933
analogous
#5C2779 #79276D #792744
triadic
#79276D #6D7927 #276D79
tetradic
#79276D #795C27 #277933 #274479
square
#79276D #795C27 #277933 #274479
split-complementary
#79276D #447927 #27795C
monochromatic
#1C091A #4B1843 #79276D #A73697 #C853B6

Accessibility & contrast

On white

9.04
#79276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79276D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79276D#FFFFFF#000000##FFFFFF
##79276D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79276d;
/* rgb */ color: rgb(121, 39, 109);
/* oklch */ color: oklch(42.3% 0.142 334.1);
Tailwind
colors: {
  custom: {
    50: '#a26897',
    500: '#79276d',
    950: '#000000',
  },
}
SCSS
$custom: #79276d;
$custom-light: #a26897;
$custom-dark: #000000;
JSON
{
  "hex": "#79276d",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 308.78,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.142,
    "h": 334.1
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#79276D
secondary
#51AB5E
accent
#DB624D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79276D

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

Preview Lab → · Contrast checker → · Palette generator →

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