#79237C#79237C

#79237C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.160 H 326.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#79237C
RGBrgb(121, 35, 124)
HSLhsl(298, 56%, 31%)
HSVhsv(298, 72%, 49%)
CMYKcmyk(2.4%, 71.8%, 0%, 51.4%)
CIE-LABlab(31.17, 48.38, -31.84)
CIE-LCHlch(31.17, 57.92, 326.65°)
OKLaboklab(42.75% 0.1335 -0.0883)
OKLCHoklch(42.75% 0.16 326.5)
XYZxyz(12.1241, 6.7231, 19.7240)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79237C #267C23
analogous
#4C237C #79237C #7C2352
triadic
#79237C #7C7923 #237C79
tetradic
#79237C #7C4C23 #267C23 #23527C
square
#79237C #7C4C23 #267C23 #23527C
split-complementary
#79237C #527C23 #237C4C
monochromatic
#1C081D #4A164C #79237C #A830AC #C84DCD

Accessibility & contrast

On white

8.96
#79237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#79237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79237C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79237C#FFFFFF#000000##FFFFFF
##79237C1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427F
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#7C314D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79237c;
/* rgb */ color: rgb(121, 35, 124);
/* oklch */ color: oklch(42.8% 0.160 326.5);
Tailwind
colors: {
  custom: {
    50: '#a367a2',
    500: '#79237c',
    950: '#000000',
  },
}
SCSS
$custom: #79237c;
$custom-light: #a367a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79237c",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 297.978,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.16003,
    "h": 326.5
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#79237C
secondary
#50AF4C
accent
#DF494E
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79237C

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

Preview Lab → · Contrast checker → · Palette generator →

#79237C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva