#79278C#79278C

#79278C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 319.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#79278C
RGBrgb(121, 39, 140)
HSLhsl(289, 56%, 35%)
HSVhsv(289, 72%, 55%)
CMYKcmyk(13.6%, 72.1%, 0%, 45.1%)
CIE-LABlab(32.72, 49.85, -39.33)
CIE-LCHlch(32.72, 63.50, 321.73°)
OKLaboklab(44.19% 0.1286 -0.1102)
OKLCHoklch(44.19% 0.169 319.4)
XYZxyz(13.3437, 7.4101, 25.5333)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79278C #3A8C27
analogous
#46278C #79278C #8C276C
triadic
#79278C #8C7927 #278C79
tetradic
#79278C #8C4627 #3A8C27 #276C8C
square
#79278C #8C4627 #3A8C27 #276C8C
split-complementary
#79278C #6C8C27 #278C46
monochromatic
#260C2C #501A5C #79278C #A234BC #BB5CD2

Accessibility & contrast

On white

8.46
#79278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#79278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79278C
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79278C#FFFFFF#000000##FFFFFF
##79278C1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#793A57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79278c;
/* rgb */ color: rgb(121, 39, 140);
/* oklch */ color: oklch(44.2% 0.169 319.4);
Tailwind
colors: {
  custom: {
    50: '#a369ae',
    500: '#79278c',
    950: '#000000',
  },
}
SCSS
$custom: #79278c;
$custom-light: #a369ae;
$custom-dark: #000000;
JSON
{
  "hex": "#79278c",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 288.713,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.16937,
    "h": 319.4
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#79278C
secondary
#6AB758
accent
#E04865
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79278C

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

Preview Lab → · Contrast checker → · Palette generator →

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