#79277A#79277A

#79277A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.153 H 327.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#79277A
RGBrgb(121, 39, 122)
HSLhsl(299, 52%, 32%)
HSVhsv(299, 68%, 48%)
CMYKcmyk(0.8%, 68%, 0%, 52.2%)
CIE-LABlab(31.63, 46.39, -29.85)
CIE-LCHlch(31.63, 55.17, 327.24°)
OKLaboklab(43.05% 0.1288 -0.0826)
OKLCHoklch(43.05% 0.153 327.3)
XYZxyz(12.1233, 6.9219, 19.1061)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79277A #287A27
analogous
#50277A #79277A #7A2752
triadic
#79277A #7A7927 #277A79
tetradic
#79277A #7A5027 #287A27 #27527A
square
#79277A #7A5027 #287A27 #27527A
split-complementary
#79277A #527A27 #277A50
monochromatic
#1D091D #4B184C #79277A #A736A8 #C753C8

Accessibility & contrast

On white

8.81
#79277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#79277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79277A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79277A#FFFFFF#000000##FFFFFF
##79277A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#7D334D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79277a;
/* rgb */ color: rgb(121, 39, 122);
/* oklch */ color: oklch(43.0% 0.153 327.3);
Tailwind
colors: {
  custom: {
    50: '#a268a1',
    500: '#79277a',
    950: '#000000',
  },
}
SCSS
$custom: #79277a;
$custom-light: #a268a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79277a",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 299.277,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.15304,
    "h": 327.3
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#79277A
secondary
#52AC51
accent
#DB4D4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #79277A

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

Preview Lab → · Contrast checker → · Palette generator →

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