#79237B#79237B

#79237B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 327.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#79237B
RGBrgb(121, 35, 123)
HSLhsl(299, 56%, 31%)
HSVhsv(299, 72%, 48%)
CMYKcmyk(1.6%, 71.5%, 0%, 51.8%)
CIE-LABlab(31.11, 48.20, -31.30)
CIE-LCHlch(31.11, 57.47, 327.00°)
OKLaboklab(42.69% 0.1334 -0.0868)
OKLCHoklch(42.69% 0.159 327)
XYZxyz(12.0611, 6.6979, 19.3926)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79237B #257B23
analogous
#4D237B #79237B #7B2351
triadic
#79237B #7B7923 #237B79
tetradic
#79237B #7B4D23 #257B23 #23517B
square
#79237B #7B4D23 #257B23 #23517B
split-complementary
#79237B #517B23 #237B4D
monochromatic
#1B081C #4A154B #79237B #A831AB #C94CCC

Accessibility & contrast

On white

8.98
#79237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79237B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79237B#FFFFFF#000000##FFFFFF
##79237B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#7D304C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79237b;
/* rgb */ color: rgb(121, 35, 123);
/* oklch */ color: oklch(42.7% 0.159 327.0);
Tailwind
colors: {
  custom: {
    50: '#a366a1',
    500: '#79237b',
    950: '#000000',
  },
}
SCSS
$custom: #79237b;
$custom-light: #a366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79237b",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 298.636,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.15917,
    "h": 327
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#79237B
secondary
#4EAE4C
accent
#DF494C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79237B

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

Preview Lab → · Contrast checker → · Palette generator →

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