#79277C#79277C

#79277C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 326.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#79277C
RGBrgb(121, 39, 124)
HSLhsl(298, 52%, 32%)
HSVhsv(298, 69%, 49%)
CMYKcmyk(2.4%, 68.5%, 0%, 51.4%)
CIE-LABlab(31.74, 46.76, -30.93)
CIE-LCHlch(31.74, 56.07, 326.52°)
OKLaboklab(43.17% 0.1289 -0.0857)
OKLCHoklch(43.17% 0.155 326.4)
XYZxyz(12.2485, 6.9720, 19.7655)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79277C #2A7C27
analogous
#4F277C #79277C #7C2755
triadic
#79277C #7C7927 #277C79
tetradic
#79277C #7C4F27 #2A7C27 #27557C
square
#79277C #7C4F27 #2A7C27 #27557C
split-complementary
#79277C #557C27 #277C4F
monochromatic
#1E0A1F #4C184D #79277C #A636AB #C554C9

Accessibility & contrast

On white

8.77
#79277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#79277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79277C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79277C#FFFFFF#000000##FFFFFF
##79277C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#3A4E7A
Tritanopia (blue-blind)
#7C334E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79277c;
/* rgb */ color: rgb(121, 39, 124);
/* oklch */ color: oklch(43.2% 0.155 326.4);
Tailwind
colors: {
  custom: {
    50: '#a368a2',
    500: '#79277c',
    950: '#000000',
  },
}
SCSS
$custom: #79277c;
$custom-light: #a368a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79277c",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 297.882,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.1548,
    "h": 326.4
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#79277C
secondary
#54AE51
accent
#DC4C51
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79277C

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

Preview Lab → · Contrast checker → · Palette generator →

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