#79278F#79278F

#79278F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.172 H 318.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#79278F
RGBrgb(121, 39, 143)
HSLhsl(287, 57%, 36%)
HSVhsv(287, 73%, 56%)
CMYKcmyk(15.4%, 72.7%, 0%, 43.9%)
CIE-LABlab(32.92, 50.46, -40.86)
CIE-LCHlch(32.92, 64.93, 321.00°)
OKLaboklab(44.39% 0.1284 -0.1147)
OKLCHoklch(44.39% 0.172 318.2)
XYZxyz(13.5679, 7.4998, 26.7142)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79278F #3D8F27
analogous
#45278F #79278F #8F2771
triadic
#79278F #8F7927 #278F79
tetradic
#79278F #8F4527 #3D8F27 #27718F
square
#79278F #8F4527 #3D8F27 #27718F
split-complementary
#79278F #718F27 #278F45
monochromatic
#280D2F #501A5F #79278F #A234BF #BA5DD3

Accessibility & contrast

On white

8.40
#79278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#79278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79278F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79278F#FFFFFF#000000##FFFFFF
##79278F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#783B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #79278f;
/* rgb */ color: rgb(121, 39, 143);
/* oklch */ color: oklch(44.4% 0.172 318.2);
Tailwind
colors: {
  custom: {
    50: '#a369b0',
    500: '#79278f',
    950: '#000000',
  },
}
SCSS
$custom: #79278f;
$custom-light: #a369b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79278f",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 287.308,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.17216,
    "h": 318.2
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#79278F
secondary
#6EB85A
accent
#E04768
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79278F

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

Preview Lab → · Contrast checker → · Palette generator →

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