#79278E#79278E

#79278E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.171 H 318.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#79278E
RGBrgb(121, 39, 142)
HSLhsl(288, 57%, 35%)
HSVhsv(288, 73%, 56%)
CMYKcmyk(14.8%, 72.5%, 0%, 44.3%)
CIE-LABlab(32.85, 50.26, -40.35)
CIE-LCHlch(32.85, 64.45, 321.24°)
OKLaboklab(44.32% 0.1285 -0.1132)
OKLCHoklch(44.32% 0.171 318.6)
XYZxyz(13.4925, 7.4696, 26.3170)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79278E #3C8E27
analogous
#45278E #79278E #8E276F
triadic
#79278E #8E7927 #278E79
tetradic
#79278E #8E4527 #3C8E27 #276F8E
square
#79278E #8E4527 #3C8E27 #276F8E
split-complementary
#79278E #6F8E27 #278E45
monochromatic
#270D2E #501A5E #79278E #A234BE #BB5DD2

Accessibility & contrast

On white

8.42
#79278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79278E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79278E#FFFFFF#000000##FFFFFF
##79278E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#793B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79278e;
/* rgb */ color: rgb(121, 39, 142);
/* oklch */ color: oklch(44.3% 0.171 318.6);
Tailwind
colors: {
  custom: {
    50: '#a369b0',
    500: '#79278e',
    950: '#000000',
  },
}
SCSS
$custom: #79278e;
$custom-light: #a369b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79278e",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 287.767,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4432,
    "c": 0.17123,
    "h": 318.6
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#79278E
secondary
#6CB859
accent
#E04867
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79278E

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

Preview Lab → · Contrast checker → · Palette generator →

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