#79256E#79256E

#79256E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.146 H 333.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#79256E
RGBrgb(121, 37, 110)
HSLhsl(308, 53%, 31%)
HSVhsv(308, 69%, 47%)
CMYKcmyk(0%, 69.4%, 9.1%, 52.5%)
CIE-LABlab(30.68, 45.11, -23.75)
CIE-LCHlch(30.68, 50.98, 332.24°)
OKLaboklab(42.15% 0.1303 -0.065)
OKLCHoklch(42.15% 0.146 333.5)
XYZxyz(11.3613, 6.5148, 15.4079)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79256E #257930
analogous
#5A2579 #79256E #792544
triadic
#79256E #6E7925 #256E79
tetradic
#79256E #795A25 #257930 #254479
square
#79256E #795A25 #257930 #254479
split-complementary
#79256E #447925 #25795A
monochromatic
#1B0819 #4A1743 #79256E #A83399 #C94FB9

Accessibility & contrast

On white

9.12
#79256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#79256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79256E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79256E#FFFFFF#000000##FFFFFF
##79256E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234070
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#7F2C46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79256e;
/* rgb */ color: rgb(121, 37, 110);
/* oklch */ color: oklch(42.1% 0.146 333.5);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#79256e',
    950: '#000000',
  },
}
SCSS
$custom: #79256e;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#79256e",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 307.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.14563,
    "h": 333.5
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#79256E
secondary
#4EAB5B
accent
#DD5E4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79256E

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

Preview Lab → · Contrast checker → · Palette generator →

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