#79277E#79277E

#79277E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.157 H 325.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#79277E
RGBrgb(121, 39, 126)
HSLhsl(297, 53%, 32%)
HSVhsv(297, 69%, 49%)
CMYKcmyk(4%, 69%, 0%, 50.6%)
CIE-LABlab(31.86, 47.14, -32.00)
CIE-LCHlch(31.86, 56.97, 325.83°)
OKLaboklab(43.29% 0.129 -0.0888)
OKLCHoklch(43.29% 0.157 325.4)
XYZxyz(12.3763, 7.0231, 20.4383)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79277E #2C7E27
analogous
#4E277E #79277E #7E2757
triadic
#79277E #7E7927 #277E79
tetradic
#79277E #7E4E27 #2C7E27 #27577E
square
#79277E #7E4E27 #2C7E27 #27577E
split-complementary
#79277E #577E27 #277E4E
monochromatic
#1F0A21 #4C194F #79277E #A635AD #C455CA

Accessibility & contrast

On white

8.73
#79277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#79277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79277E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79277E#FFFFFF#000000##FFFFFF
##79277E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154481
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#7C344F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79277e;
/* rgb */ color: rgb(121, 39, 126);
/* oklch */ color: oklch(43.3% 0.157 325.4);
Tailwind
colors: {
  custom: {
    50: '#a369a4',
    500: '#79277e',
    950: '#000000',
  },
}
SCSS
$custom: #79277e;
$custom-light: #a369a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79277e",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 296.552,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43288,
    "c": 0.15659,
    "h": 325.4
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#79277E
secondary
#57AF52
accent
#DC4C54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79277E

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

Preview Lab → · Contrast checker → · Palette generator →

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