#79246F#79246F

#79246F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.148 H 333.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#79246F
RGBrgb(121, 36, 111)
HSLhsl(307, 54%, 31%)
HSVhsv(307, 70%, 47%)
CMYKcmyk(0%, 70.2%, 8.3%, 52.5%)
CIE-LABlab(30.58, 45.69, -24.53)
CIE-LCHlch(30.58, 51.86, 331.77°)
OKLaboklab(42.09% 0.1316 -0.0672)
OKLCHoklch(42.09% 0.148 333)
XYZxyz(11.3853, 6.4753, 15.6861)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79246F #24792E
analogous
#582479 #79246F #792444
triadic
#79246F #6F7924 #246F79
tetradic
#79246F #795824 #24792E #244479
square
#79246F #795824 #24792E #244479
split-complementary
#79246F #447924 #247958
monochromatic
#1B0818 #4A1644 #79246F #A8329A #CA4DBB

Accessibility & contrast

On white

9.15
#79246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#79246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79246F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79246F#FFFFFF#000000##FFFFFF
##79246F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#3F4C6D
Tritanopia (blue-blind)
#7E2C46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79246f;
/* rgb */ color: rgb(121, 36, 111);
/* oklch */ color: oklch(42.1% 0.148 333.0);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#79246f',
    950: '#000000',
  },
}
SCSS
$custom: #79246f;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#79246f",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 307.059,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.1478,
    "h": 333
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#79246F
secondary
#4DAC58
accent
#DE5C4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #79246F

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

Preview Lab → · Contrast checker → · Palette generator →

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