#79247E#79247E

#79247E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.161 H 325.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#79247E
RGBrgb(121, 36, 126)
HSLhsl(297, 56%, 32%)
HSVhsv(297, 71%, 49%)
CMYKcmyk(4%, 71.4%, 0%, 50.6%)
CIE-LABlab(31.43, 48.36, -32.69)
CIE-LCHlch(31.43, 58.37, 325.94°)
OKLaboklab(42.98% 0.1324 -0.0908)
OKLCHoklch(42.98% 0.161 325.5)
XYZxyz(12.2817, 6.8338, 20.4068)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79247E #297E24
analogous
#4C247E #79247E #7E2456
triadic
#79247E #7E7924 #247E79
tetradic
#79247E #7E4C24 #297E24 #24567E
square
#79247E #7E4C24 #297E24 #24567E
split-complementary
#79247E #567E24 #247E4C
monochromatic
#1E091F #4B164E #79247E #A732AE #C650CD

Accessibility & contrast

On white

8.87
#79247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#79247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79247E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79247E#FFFFFF#000000##FFFFFF
##79247E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4381
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#7C324E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79247e;
/* rgb */ color: rgb(121, 36, 126);
/* oklch */ color: oklch(43.0% 0.161 325.5);
Tailwind
colors: {
  custom: {
    50: '#a367a4',
    500: '#79247e',
    950: '#000000',
  },
}
SCSS
$custom: #79247e;
$custom-light: #a367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79247e",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 296.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.16051,
    "h": 325.5
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#79247E
secondary
#53B04E
accent
#DF4951
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79247E

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

Preview Lab → · Contrast checker → · Palette generator →

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