#79247C#79247C

#79247C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.159 H 326.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#79247C
RGBrgb(121, 36, 124)
HSLhsl(298, 55%, 31%)
HSVhsv(298, 71%, 49%)
CMYKcmyk(2.4%, 71%, 0%, 51.4%)
CIE-LABlab(31.31, 47.99, -31.62)
CIE-LCHlch(31.31, 57.47, 326.62°)
OKLaboklab(42.85% 0.1324 -0.0877)
OKLCHoklch(42.85% 0.159 326.5)
XYZxyz(12.1539, 6.7827, 19.7339)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79247C #277C24
analogous
#4D247C #79247C #7C2453
triadic
#79247C #7C7924 #247C79
tetradic
#79247C #7C4D24 #277C24 #24537C
square
#79247C #7C4D24 #277C24 #24537C
split-complementary
#79247C #537C24 #247C4D
monochromatic
#1C081D #4B164D #79247C #A732AB #C84FCC

Accessibility & contrast

On white

8.91
#79247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#79247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79247C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79247C#FFFFFF#000000##FFFFFF
##79247C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#7C314D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79247c;
/* rgb */ color: rgb(121, 36, 124);
/* oklch */ color: oklch(42.9% 0.159 326.5);
Tailwind
colors: {
  custom: {
    50: '#a367a2',
    500: '#79247c',
    950: '#000000',
  },
}
SCSS
$custom: #79247c;
$custom-light: #a367a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79247c",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 297.955,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.15877,
    "h": 326.5
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#79247C
secondary
#51AE4D
accent
#DE494F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79247C

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

Preview Lab → · Contrast checker → · Palette generator →

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