#79277D#79277D

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

Color values

HEX#79277D
RGBrgb(121, 39, 125)
HSLhsl(297, 52%, 32%)
HSVhsv(297, 69%, 49%)
CMYKcmyk(3.2%, 68.8%, 0%, 51%)
CIE-LABlab(31.80, 46.95, -31.46)
CIE-LCHlch(31.80, 56.52, 326.17°)
OKLaboklab(43.23% 0.1289 -0.0873)
OKLCHoklch(43.23% 0.156 325.9)
XYZxyz(12.3121, 6.9974, 20.1002)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79277D #2B7D27
analogous
#4E277D #79277D #7D2756
triadic
#79277D #7D7927 #277D79
tetradic
#79277D #7D4E27 #2B7D27 #27567D
square
#79277D #7D4E27 #2B7D27 #27567D
split-complementary
#79277D #567D27 #277D4E
monochromatic
#1F0A20 #4C184E #79277D #A636AC #C455CA

Accessibility & contrast

On white

8.75
#79277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79277D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79277D#FFFFFF#000000##FFFFFF
##79277D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#7C344F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79277d;
/* rgb */ color: rgb(121, 39, 125);
/* oklch */ color: oklch(43.2% 0.156 325.9);
Tailwind
colors: {
  custom: {
    50: '#a368a3',
    500: '#79277d',
    950: '#000000',
  },
}
SCSS
$custom: #79277d;
$custom-light: #a368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79277d",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 297.209,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.1557,
    "h": 325.9
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#79277D
secondary
#56AF51
accent
#DC4C53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79277D

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

Preview Lab → · Contrast checker → · Palette generator →

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