#79236B#79236B

#79236B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.146 H 335.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#79236B
RGBrgb(121, 35, 107)
HSLhsl(310, 55%, 31%)
HSVhsv(310, 71%, 47%)
CMYKcmyk(0%, 71.1%, 11.6%, 52.5%)
CIE-LABlab(30.23, 45.43, -22.53)
CIE-LCHlch(30.23, 50.71, 333.63°)
OKLaboklab(41.77% 0.1324 -0.0614)
OKLCHoklch(41.77% 0.146 335.1)
XYZxyz(11.1402, 6.3295, 14.5421)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79236B #237931
analogous
#5C2379 #79236B #792340
triadic
#79236B #6B7923 #236B79
tetradic
#79236B #795C23 #237931 #234079
square
#79236B #795C23 #237931 #234079
split-complementary
#79236B #407923 #23795C
monochromatic
#1A0817 #4A1541 #79236B #A83195 #CB4BB6

Accessibility & contrast

On white

9.27
#79236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#79236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79236B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79236B#FFFFFF#000000##FFFFFF
##79236B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79236b;
/* rgb */ color: rgb(121, 35, 107);
/* oklch */ color: oklch(41.8% 0.146 335.1);
Tailwind
colors: {
  custom: {
    50: '#a36695',
    500: '#79236b',
    950: '#000000',
  },
}
SCSS
$custom: #79236b;
$custom-light: #a36695;
$custom-dark: #000000;
JSON
{
  "hex": "#79236b",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 309.767,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.14596,
    "h": 335.1
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#79236B
secondary
#4CAC5C
accent
#DE6249
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79236B

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

Preview Lab → · Contrast checker → · Palette generator →

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