#79278B#79278B

#79278B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.168 H 319.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#79278B
RGBrgb(121, 39, 139)
HSLhsl(289, 56%, 35%)
HSVhsv(289, 72%, 55%)
CMYKcmyk(12.9%, 71.9%, 0%, 45.5%)
CIE-LABlab(32.66, 49.65, -38.81)
CIE-LCHlch(32.66, 63.02, 321.99°)
OKLaboklab(44.12% 0.1287 -0.1087)
OKLCHoklch(44.12% 0.168 319.8)
XYZxyz(13.2703, 7.3807, 25.1467)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79278B #398B27
analogous
#47278B #79278B #8B276B
triadic
#79278B #8B7927 #278B79
tetradic
#79278B #8B4727 #398B27 #276B8B
square
#79278B #8B4727 #398B27 #276B8B
split-complementary
#79278B #6B8B27 #278B47
monochromatic
#260C2B #4F1A5B #79278B #A334BB #BC5BD1

Accessibility & contrast

On white

8.48
#79278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79278B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79278B#FFFFFF#000000##FFFFFF
##79278B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#793A56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79278b;
/* rgb */ color: rgb(121, 39, 139);
/* oklch */ color: oklch(44.1% 0.168 319.8);
Tailwind
colors: {
  custom: {
    50: '#a369ad',
    500: '#79278b',
    950: '#000000',
  },
}
SCSS
$custom: #79278b;
$custom-light: #a369ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79278b",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 289.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.16844,
    "h": 319.8
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#79278B
secondary
#69B658
accent
#DF4864
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79278B

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

Preview Lab → · Contrast checker → · Palette generator →

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