#79277B#79277B

#79277B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 326.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#79277B
RGBrgb(121, 39, 123)
HSLhsl(299, 52%, 32%)
HSVhsv(299, 68%, 48%)
CMYKcmyk(1.6%, 68.3%, 0%, 51.8%)
CIE-LABlab(31.69, 46.58, -30.39)
CIE-LCHlch(31.69, 55.62, 326.88°)
OKLaboklab(43.11% 0.1289 -0.0841)
OKLCHoklch(43.11% 0.154 326.9)
XYZxyz(12.1856, 6.9468, 19.4341)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79277B #297B27
analogous
#4F277B #79277B #7B2753
triadic
#79277B #7B7927 #277B79
tetradic
#79277B #7B4F27 #297B27 #27537B
square
#79277B #7B4F27 #297B27 #27537B
split-complementary
#79277B #537B27 #277B4F
monochromatic
#1E0A1E #4B184D #79277B #A736A9 #C654C9

Accessibility & contrast

On white

8.79
#79277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79277B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79277B#FFFFFF#000000##FFFFFF
##79277B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#7C334D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79277b;
/* rgb */ color: rgb(121, 39, 123);
/* oklch */ color: oklch(43.1% 0.154 326.9);
Tailwind
colors: {
  custom: {
    50: '#a368a1',
    500: '#79277b',
    950: '#000000',
  },
}
SCSS
$custom: #79277b;
$custom-light: #a368a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79277b",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 298.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.15392,
    "h": 326.9
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#79277B
secondary
#53AD51
accent
#DB4C50
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79277B

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

Preview Lab → · Contrast checker → · Palette generator →

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