#79278D#79278D

#79278D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.170 H 319.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#79278D
RGBrgb(121, 39, 141)
HSLhsl(288, 57%, 35%)
HSVhsv(288, 72%, 55%)
CMYKcmyk(14.2%, 72.3%, 0%, 44.7%)
CIE-LABlab(32.79, 50.05, -39.84)
CIE-LCHlch(32.79, 63.97, 321.48°)
OKLaboklab(44.25% 0.1285 -0.1117)
OKLCHoklch(44.25% 0.17 319)
XYZxyz(13.4178, 7.4397, 25.9234)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79278D #3B8D27
analogous
#46278D #79278D #8D276E
triadic
#79278D #8D7927 #278D79
tetradic
#79278D #8D4627 #3B8D27 #276E8D
square
#79278D #8D4627 #3B8D27 #276E8D
split-complementary
#79278D #6E8D27 #278D46
monochromatic
#270C2D #501A5D #79278D #A234BD #BB5CD2

Accessibility & contrast

On white

8.44
#79278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#79278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79278D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79278D#FFFFFF#000000##FFFFFF
##79278D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#793B57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79278d;
/* rgb */ color: rgb(121, 39, 141);
/* oklch */ color: oklch(44.3% 0.170 319.0);
Tailwind
colors: {
  custom: {
    50: '#a369af',
    500: '#79278d',
    950: '#000000',
  },
}
SCSS
$custom: #79278d;
$custom-light: #a369af;
$custom-dark: #000000;
JSON
{
  "hex": "#79278d",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 288.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.1703,
    "h": 319
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#79278D
secondary
#6BB759
accent
#E04866
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79278D

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

Preview Lab → · Contrast checker → · Palette generator →

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