#79256F#79256F

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

Color values

HEX#79256F
RGBrgb(121, 37, 111)
HSLhsl(307, 53%, 31%)
HSVhsv(307, 69%, 47%)
CMYKcmyk(0%, 69.4%, 8.3%, 52.5%)
CIE-LABlab(30.73, 45.28, -24.30)
CIE-LCHlch(30.73, 51.39, 331.78°)
OKLaboklab(42.2% 0.1304 -0.0666)
OKLCHoklch(42.2% 0.146 333)
XYZxyz(11.4160, 6.5367, 15.6963)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79256F #25792F
analogous
#592579 #79256F #792545
triadic
#79256F #6F7925 #256F79
tetradic
#79256F #795925 #25792F #254579
square
#79256F #795925 #25792F #254579
split-complementary
#79256F #457925 #257959
monochromatic
#1B0819 #4A1744 #79256F #A8339A #C94FBB

Accessibility & contrast

On white

9.10
#79256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#79256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79256F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79256F#FFFFFF#000000##FFFFFF
##79256F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79256f;
/* rgb */ color: rgb(121, 37, 111);
/* oklch */ color: oklch(42.2% 0.146 333.0);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#79256f',
    950: '#000000',
  },
}
SCSS
$custom: #79256f;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#79256f",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 307.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.422,
    "c": 0.14644,
    "h": 333
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#79256F
secondary
#4EAB59
accent
#DD5D4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #79256F

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

Preview Lab → · Contrast checker → · Palette generator →

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