#79246B#79246B

#79246B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 335.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#79246B
RGBrgb(121, 36, 107)
HSLhsl(310, 54%, 31%)
HSVhsv(310, 70%, 47%)
CMYKcmyk(0%, 70.2%, 11.6%, 52.5%)
CIE-LABlab(30.37, 45.02, -22.30)
CIE-LCHlch(30.37, 50.24, 333.65°)
OKLaboklab(41.88% 0.1312 -0.0608)
OKLCHoklch(41.88% 0.145 335.1)
XYZxyz(11.1700, 6.3892, 14.5520)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79246B #247932
analogous
#5C2479 #79246B #792440
triadic
#79246B #6B7924 #246B79
tetradic
#79246B #795C24 #247932 #244079
square
#79246B #795C24 #247932 #244079
split-complementary
#79246B #407924 #24795C
monochromatic
#1B0818 #4A1641 #79246B #A83295 #CA4DB6

Accessibility & contrast

On white

9.22
#79246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#79246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79246B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79246B#FFFFFF#000000##FFFFFF
##79246B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#404C69
Tritanopia (blue-blind)
#7F2A44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79246b;
/* rgb */ color: rgb(121, 36, 107);
/* oklch */ color: oklch(41.9% 0.145 335.1);
Tailwind
colors: {
  custom: {
    50: '#a36695',
    500: '#79246b',
    950: '#000000',
  },
}
SCSS
$custom: #79246b;
$custom-light: #a36695;
$custom-dark: #000000;
JSON
{
  "hex": "#79246b",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 309.882,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.14461,
    "h": 335.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#79246B
secondary
#4DAC5D
accent
#DE634A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79246B

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

Preview Lab → · Contrast checker → · Palette generator →

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