#79247D#79247D

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

Color values

HEX#79247D
RGBrgb(121, 36, 125)
HSLhsl(297, 55%, 32%)
HSVhsv(297, 71%, 49%)
CMYKcmyk(3.2%, 71.2%, 0%, 51%)
CIE-LABlab(31.37, 48.17, -32.15)
CIE-LCHlch(31.37, 57.92, 326.28°)
OKLaboklab(42.91% 0.1324 -0.0892)
OKLCHoklch(42.91% 0.16 326)
XYZxyz(12.2175, 6.8082, 20.0687)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79247D #287D24
analogous
#4D247D #79247D #7D2455
triadic
#79247D #7D7924 #247D79
tetradic
#79247D #7D4D24 #287D24 #24557D
square
#79247D #7D4D24 #287D24 #24557D
split-complementary
#79247D #557D24 #247D4D
monochromatic
#1D091E #4B164D #79247D #A732AD #C74FCC

Accessibility & contrast

On white

8.89
#79247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79247D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79247D#FFFFFF#000000##FFFFFF
##79247D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#7C324E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79247d;
/* rgb */ color: rgb(121, 36, 125);
/* oklch */ color: oklch(42.9% 0.160 326.0);
Tailwind
colors: {
  custom: {
    50: '#a367a3',
    500: '#79247d',
    950: '#000000',
  },
}
SCSS
$custom: #79247d;
$custom-light: #a367a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79247d",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 297.303,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.15964,
    "h": 326
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#79247D
secondary
#52AF4D
accent
#DF4950
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79247D

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

Preview Lab → · Contrast checker → · Palette generator →

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