#79236F#79236F

#79236F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 332.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#79236F
RGBrgb(121, 35, 111)
HSLhsl(307, 55%, 31%)
HSVhsv(307, 71%, 47%)
CMYKcmyk(0%, 71.1%, 8.3%, 52.5%)
CIE-LABlab(30.44, 46.10, -24.76)
CIE-LCHlch(30.44, 52.32, 331.76°)
OKLaboklab(41.99% 0.1328 -0.0678)
OKLCHoklch(41.99% 0.149 332.9)
XYZxyz(11.3555, 6.4156, 15.6761)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79236F #23792D
analogous
#582379 #79236F #792344
triadic
#79236F #6F7923 #236F79
tetradic
#79236F #795823 #23792D #234479
square
#79236F #795823 #23792D #234479
split-complementary
#79236F #447923 #237958
monochromatic
#1A0818 #4A1543 #79236F #A8319B #CB4BBC

Accessibility & contrast

On white

9.20
#79236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#79236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79236F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79236F#FFFFFF#000000##FFFFFF
##79236F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#7E2B46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79236f;
/* rgb */ color: rgb(121, 35, 111);
/* oklch */ color: oklch(42.0% 0.149 332.9);
Tailwind
colors: {
  custom: {
    50: '#a36698',
    500: '#79236f',
    950: '#000000',
  },
}
SCSS
$custom: #79236f;
$custom-light: #a36698;
$custom-dark: #000000;
JSON
{
  "hex": "#79236f",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 306.977,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.14915,
    "h": 332.9
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#79236F
secondary
#4CAC57
accent
#DE5B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #79236F

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

Preview Lab → · Contrast checker → · Palette generator →

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